projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671970f
)
NFC: trf7970a: Remove unnecessary local variable initialization
author
Mark A. Greer
<mgreer@animalcreek.com>
Tue, 23 Sep 2014 18:25:46 +0000
(11:25 -0700)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 23 Sep 2014 22:28:23 +0000
(
00:28
+0200)
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>
drivers/nfc/trf7970a.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nfc/trf7970a.c
b/drivers/nfc/trf7970a.c
index 00149a9a50ef6a9affc7e959a782701fc5ac67e6..59a7df7f023cd2eaa8369350fc6fefe98749531f 100644
(file)
--- 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");