aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-23 14:25:46 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-23 18:28:23 -0400
commit55ef2e75ccf0d91f7b2f4251dc3b9e56df840928 (patch)
treed3a1bde19f5727fb06a3071324f89d8b460c64f4
parent671970f531378e2a22ba0168d85dfca1f4e082c4 (diff)
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>
-rw-r--r--drivers/nfc/trf7970a.c2
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)
2139{ 2139{
2140 struct spi_device *spi = container_of(dev, struct spi_device, dev); 2140 struct spi_device *spi = container_of(dev, struct spi_device, dev);
2141 struct trf7970a *trf = spi_get_drvdata(spi); 2141 struct trf7970a *trf = spi_get_drvdata(spi);
2142 int ret = 0; 2142 int ret;
2143 2143
2144 dev_dbg(dev, "Resume\n"); 2144 dev_dbg(dev, "Resume\n");
2145 2145