commit | 2622e2a03cd7320f57a4f5171c242dccdab035dd | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Sun May 31 17:44:45 2015 -0700 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Jun 09 00:34:19 2015 +0200 |
tree | 7cf56686031b93f5476841aeac444de9bf920a6f | |
parent | 8a2151c587715e84af676ee6c210fd41b912de76 [diff] |
NFC: nci: hci: Fix releasing uninitialized skbs Several of these goto exit; uses should be direct returns as skb is not yet initialized by nci_hci_get_param(). Miscellanea: o Use !memcmp instead of memcmp() == 0 o Remove unnecessary goto from if () {... goto exit;} else {...} exit: Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>