summaryrefslogtreecommitdiff
path: root/net/nfc/netlink.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-11-22 03:06:46 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-11-22 03:06:45 -0800
commitee5ed64f739b51590ac586f8386f90f75b4777d3 (patch)
tree0f27b4f5b70cb27205462de34562beb627597847 /net/nfc/netlink.c
parentee4cdc8d6314c7fbcc487a9901c550f1beb82da3 (diff)
parentacd0aacb7e54796116ea6964c17e8874376dbe34 (diff)
Merge "Merge android-4.4-p.202 (a4d443b7) into msm-4.4"
Diffstat (limited to 'net/nfc/netlink.c')
-rw-r--r--net/nfc/netlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c
index 80def98c9dba..04d4c388a7a8 100644
--- a/net/nfc/netlink.c
+++ b/net/nfc/netlink.c
@@ -1066,7 +1066,6 @@ static int nfc_genl_llc_set_params(struct sk_buff *skb, struct genl_info *info)
local = nfc_llcp_find_local(dev);
if (!local) {
- nfc_put_device(dev);
rc = -ENODEV;
goto exit;
}
@@ -1126,7 +1125,6 @@ static int nfc_genl_llc_sdreq(struct sk_buff *skb, struct genl_info *info)
local = nfc_llcp_find_local(dev);
if (!local) {
- nfc_put_device(dev);
rc = -ENODEV;
goto exit;
}