diff options
author | Mark A. Greer <mgreer@animalcreek.com> | 2014-09-23 20:25:46 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-24 00:28:23 +0200 |
commit | 55ef2e75ccf0d91f7b2f4251dc3b9e56df840928 (patch) | |
tree | d3a1bde19f5727fb06a3071324f89d8b460c64f4 /drivers/nfc | |
parent | NFC: trf7970a: Remove useless local variable (diff) | |
download | linux-55ef2e75ccf0d91f7b2f4251dc3b9e56df840928.tar.xz linux-55ef2e75ccf0d91f7b2f4251dc3b9e56df840928.zip |
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 <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r-- | drivers/nfc/trf7970a.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |