commit | 3267183c3d1a6612c00961d7334413f9976c751a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Mar 22 21:20:58 2017 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Wed Apr 05 10:15:17 2017 +0200 |
tree | a026d6eb5c803cd5a08ce22736b47c0867d6ec5d | |
parent | 682fd6185053875bb16efb1037f3d2ae9680b015 [diff] |
NFC: netlink: Use error code from nfc_activate_target() It looks like a typo to assign a return code to a variable which is not used. Found due to a compiler warning: net/nfc/netlink.c: In function ‘nfc_genl_activate_target’: net/nfc/netlink.c:903:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] int rc; ^~ Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>