]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: iio: ad9850.c: code cleanup
authorGuillaume Morin <guillaume@morinfr.org>
Sat, 28 Jun 2014 15:54:00 +0000 (16:54 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 29 Jun 2014 10:51:56 +0000 (11:51 +0100)
commit87a46909b36ad191352bfb7ac596d2c9c6901ef5
tree04bb69e752e5a46eab499f23b2d66629848dd980
parentfc167f62483325aea9137e70e6773fe7ad1ca2ac
staging: iio: ad9850.c: code cleanup

checkpath.pl was complaining about value_mask:
ERROR: Macros with complex values should be enclosed in parenthesis

I fixed this by simply removing it since it's not used (as well as another
macro).  Got rid of the un-necessary error_ret label as well.

Signed-off-by: Guillaume Morin <guillaume@morinfr.org>
Reported-by: Michael Welling <mwelling@ieee.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/frequency/ad9850.c