Skip to content

Commit 618355c

Browse files
Tom Rixkuba-moo
authored andcommitted
nfc: remove unneeded break
A break is not needed if it is preceded by a return Signed-off-by: Tom Rix <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7ebb9db commit 618355c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/nfc/st21nfca/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,6 @@ static int st21nfca_hci_im_transceive(struct nfc_hci_dev *hdev,
794794
skb->len,
795795
st21nfca_hci_data_exchange_cb,
796796
info);
797-
break;
798797
default:
799798
return 1;
800799
}

drivers/nfc/trf7970a.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,6 @@ static int trf7970a_is_iso15693_write_or_lock(u8 cmd)
13821382
case ISO15693_CMD_WRITE_DSFID:
13831383
case ISO15693_CMD_LOCK_DSFID:
13841384
return 1;
1385-
break;
13861385
default:
13871386
return 0;
13881387
}

0 commit comments

Comments
 (0)