]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/nfc/trf7970a.c
NFC: trf7970a: Remove useless local variable
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 23 Sep 2014 18:25:45 +0000 (11:25 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 23 Sep 2014 22:28:22 +0000 (00:28 +0200)
commit671970f531378e2a22ba0168d85dfca1f4e082c4
treed78532003fd70da4ffaf1a36358595274fd5c3de
parent890c165261f92e23005d84762acc98892acaa504
NFC: trf7970a: Remove useless local variable

The trf7970a_suspend() routine always returns
zero so don't use a local return variable to
hold the return value.  This fixes up a smatch
warning.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c