diff options
author | Joe Perches <joe@perches.com> | 2015-05-31 17:44:45 -0700 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-06-09 00:34:19 +0200 |
commit | 2622e2a03cd7320f57a4f5171c242dccdab035dd (patch) | |
tree | 7cf56686031b93f5476841aeac444de9bf920a6f /net/rxrpc | |
parent | 8a2151c587715e84af676ee6c210fd41b912de76 (diff) | |
download | op-kernel-dev-2622e2a03cd7320f57a4f5171c242dccdab035dd.zip op-kernel-dev-2622e2a03cd7320f57a4f5171c242dccdab035dd.tar.gz |
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>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions