IIO: Documentation: iio_utils: fix mask generation
commitfc7f95a94606fd81d8a3910c1477ea7340b52b9f
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 24 Feb 2011 15:34:54 +0000 (24 16:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 28 Feb 2011 22:40:24 +0000 (28 14:40 -0800)
tree0dc23e6977b57257346e0b50ee6e2f74cd7165e1
parent7ccd4506fa49600a3c59cf64608b2c9e669b6c97
IIO: Documentation: iio_utils: fix mask generation

Variable sizeint is used uninitialized.
Remove sizeint completely and use bits_used instead.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/iio_utils.h