From: Mark A. Greer Date: Tue, 23 Sep 2014 18:25:46 +0000 (-0700) Subject: NFC: trf7970a: Remove unnecessary local variable initialization X-Git-Tag: v3.18-rc1~115^2~39^2~72^2~13 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=55ef2e75ccf0d91f7b2f4251dc3b9e56df840928;p=~emulex%2Finfiniband.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 00149a9a50e..59a7df7f023 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");