iio: adc: rockchip_saradc: remove unused variable in probe

A patch from ģiio: adc: rockchip_saradc: remove unused variable in probeĢ in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Wed, 27 Aug 2014 00:33:41 +0200

Commit-Message

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@...>

Patch-Comment

drivers/iio/adc/rockchip_saradc.c | 1 - 1 file changed, 1 deletion(-)

Statistics

  • 0 lines added
  • 1 lines removed

Changes

---------------------- drivers/iio/adc/rockchip_saradc.c -----------------------
index 1fad964..e074a0b 100644
@@ -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;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...