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 <heiko@sntech.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Heiko Stübner 2014-08-26 23:40:00 +01:00 committed by Jonathan Cameron
parent 63d1157ded
commit dd8f17a120
1 changed files with 0 additions and 1 deletions

View 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;