summaryrefslogtreecommitdiffstats
path: root/net/nfc/digital_dep.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-14 18:36:35 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-16 01:27:01 +0200
commit6c4c170105f0113999c41a0e848ba4dca40a5725 (patch)
tree8dba303973494919fd9936dedca320af089aec1c /net/nfc/digital_dep.c
parentipv6: remove unnecessary break after return (diff)
downloadlinux-6c4c170105f0113999c41a0e848ba4dca40a5725.tar.xz
linux-6c4c170105f0113999c41a0e848ba4dca40a5725.zip
NFC: remove unnecessary break after goto
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc/digital_dep.c')
-rw-r--r--net/nfc/digital_dep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/nfc/digital_dep.c b/net/nfc/digital_dep.c
index 171cb9949ab5..37deb173c956 100644
--- a/net/nfc/digital_dep.c
+++ b/net/nfc/digital_dep.c
@@ -457,12 +457,10 @@ static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
pr_err("Received a ACK/NACK PDU\n");
rc = -EINVAL;
goto exit;
- break;
case DIGITAL_NFC_DEP_PFB_SUPERVISOR_PDU:
pr_err("Received a SUPERVISOR PDU\n");
rc = -EINVAL;
goto exit;
- break;
}
skb_pull(resp, size);