summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-31 17:44:45 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2015-06-09 00:34:19 +0200
commit2622e2a03cd7320f57a4f5171c242dccdab035dd (patch)
tree7cf56686031b93f5476841aeac444de9bf920a6f /net/802
parent8a2151c587715e84af676ee6c210fd41b912de76 (diff)
downloadop-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/802')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud