Skip to content

Commit

Permalink
NFC: digital: Remove two unused macroes
Browse files Browse the repository at this point in the history
DIGITAL_NFC_DEP_REQ_RES_TAILROOM is never used after it was introduced.
DIGITAL_NFC_DEP_REQ_RES_HEADROOM is no more used after below
commit e8e7f42 ("NFC: digital: Remove useless call to skb_reserve()")
Remove them.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Wang Hai authored and Jakub Kicinski committed Sep 5, 2020
1 parent 877c347 commit be239c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/nfc/digital_dep.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@

#define DIGITAL_GB_BIT 0x02

#define DIGITAL_NFC_DEP_REQ_RES_HEADROOM 2 /* SoD: [SB (NFC-A)] + LEN */
#define DIGITAL_NFC_DEP_REQ_RES_TAILROOM 2 /* EoD: 2-byte CRC */

#define DIGITAL_NFC_DEP_PFB_TYPE(pfb) ((pfb) & 0xE0)

#define DIGITAL_NFC_DEP_PFB_TIMEOUT_BIT 0x10
Expand Down

0 comments on commit be239c4

Please sign in to comment.