From: Heiko Stübner Date: Tue, 26 Aug 2014 22:40:00 +0000 (+0100) Subject: iio: adc: rockchip_saradc: remove unused variable in probe X-Git-Tag: firefly_0821_release~176^2~3121^2~437^2~28 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dd8f17a120d00e93b5f76d5904f5ea31934f0a90;p=firefly-linux-kernel-4.4.55.git iio: adc: rockchip_saradc: remove unused variable in probe The rate variable in the probe function of the saradc is a remnant of a previous patch iteration. It is unused and thus produces a compile time warning. Therefore remove it. Signed-off-by: Heiko Stuebner Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c index 1fad9647cef4..e074a0b03f28 100644 --- a/drivers/iio/adc/rockchip_saradc.c +++ b/drivers/iio/adc/rockchip_saradc.c @@ -141,7 +141,6 @@ static int rockchip_saradc_probe(struct platform_device *pdev) struct resource *mem; int ret; int irq; - u32 rate; if (!np) return -ENODEV;