NFC: trf7970a: Remove unnecessary local variable initialization
[firefly-linux-kernel-4.4.55.git] / drivers / nfc / trf7970a.c
index 00149a9a50ef6a9affc7e959a782701fc5ac67e6..59a7df7f023cd2eaa8369350fc6fefe98749531f 100644 (file)
@@ -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");