NFC: digital: Remove two unused macroes
authorWang Hai <wanghai38@huawei.com>
Fri, 4 Sep 2020 13:01:57 +0000 (21:01 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 23:01:52 +0000 (16:01 -0700)
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>
net/nfc/digital_dep.c

index 304b1a9bb18a26faf7094c041b05035f9ad07258..5971fb6f51cc76a034bfc4459f2e9fae710fde6a 100644 (file)
@@ -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