From: Mark A. Greer Date: Tue, 23 Sep 2014 18:25:46 +0000 (-0700) Subject: NFC: trf7970a: Remove unnecessary local variable initialization X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=55ef2e75ccf0d91f7b2f4251dc3b9e56df840928;p=linux-beck.git NFC: trf7970a: Remove unnecessary local variable initialization There is no need to initialize the 'ret' variable in trf7970a_resume(). Signed-off-by: Mark A. Greer Signed-off-by: Samuel Ortiz --- diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 00149a9a50ef..59a7df7f023c 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c @@ -2139,7 +2139,7 @@ static int trf7970a_resume(struct device *dev) { struct spi_device *spi = container_of(dev, struct spi_device, dev); struct trf7970a *trf = spi_get_drvdata(spi); - int ret = 0; + int ret; dev_dbg(dev, "Resume\n");