mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
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:
parent
63d1157ded
commit
dd8f17a120
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user