Commit dd8f17a1 authored by Heiko Stübner's avatar Heiko Stübner Committed by Jonathan Cameron
Browse files

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: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 63d1157d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;