On 08/06/11 19:24, stufever@xxxxxxxxx wrote: > From: Wang Shaoyan <wangshaoyan.pt@xxxxxxxxxx> > > drivers/staging/iio/meter/ade7854.c: In function 'ade7854_probe': > drivers/staging/iio/meter/ade7854.c:585: warning: label 'error_ret' defined but not used > > The label error_ret is defined, but never used, so delete it to avoid annoying warning. Have equivalent in our dev tree, but happy to see this version merge instead. For reference, we have all sparse / coccinelle and smatch warnings fixed in iio-blue.git. I'll be pushing the cleanup bits of that tree out sometime fairly soon. > > Signed-off-by: Wang Shaoyan <wangshaoyan.pt@xxxxxxxxxx> Acked-by: Jonathan Cameron <jic23@xxxxxxxxx> > --- > drivers/staging/iio/meter/ade7854.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/iio/meter/ade7854.c b/drivers/staging/iio/meter/ade7854.c > index b82659f..ac3f9d5 100644 > --- a/drivers/staging/iio/meter/ade7854.c > +++ b/drivers/staging/iio/meter/ade7854.c > @@ -582,7 +582,6 @@ error_unreg_dev: > iio_device_unregister(indio_dev); > error_free_dev: > iio_free_device(indio_dev); > -error_ret: > return ret; > } > EXPORT_SYMBOL(ade7854_probe); -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html