iio: adc: rockchip_saradc: remove unused variable in probe
authorHeiko Stübner <heiko@sntech.de>
Tue, 26 Aug 2014 22:40:00 +0000 (23:40 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 30 Aug 2014 09:45:14 +0000 (10:45 +0100)
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 <heiko@sntech.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/rockchip_saradc.c

index 1fad9647cef412715c85011096438775232018e7..e074a0b03f284670ca708dad5c1b1a4aed1c315a 100644 (file)
@@ -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;