summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-04 16:01:57 +0300
committerJakub Kicinski <kuba@kernel.org>2020-09-06 02:01:52 +0300
commitbe239c4d5e3e4dce361e516b307ae117ee71e5cb (patch)
treee6f2f253a8bc7fa8745b641bca4c7afe4eefa861 /net/nfc
parent877c3474025f977208da491d34bf15f0e015d724 (diff)
downloadlinux-be239c4d5e3e4dce361e516b307ae117ee71e5cb.tar.xz
NFC: digital: Remove two unused macroes
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 e8e7f4217564 ("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>
Diffstat (limited to 'net/nfc')
-rw-r--r--net/nfc/digital_dep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/nfc/digital_dep.c b/net/nfc/digital_dep.c
index 304b1a9bb18a..5971fb6f51cc 100644
--- a/net/nfc/digital_dep.c
+++ b/net/nfc/digital_dep.c
@@ -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