1
0
Fork 0

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>
wifi-calibration
Mark A. Greer 2014-09-23 11:25:46 -07:00 committed by Samuel Ortiz
parent 671970f531
commit 55ef2e75cc
1 changed files with 1 additions and 1 deletions

View 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");