Skip to contentSkip to conversation

NFC: digital: Remove two unused macroes

PATCH Applied Wang Hai 2 participants 2 messages Sep 4, 2020 – Sep 5, 2020

Subsystems (3)
lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 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.

---
 net/nfc/digital_dep.c | 3 ---
 1 file changed, 3 deletions(-)
net/nfc/digital_dep.c +0 -3
index 304b1a9bb18a..5971fb6f51cc 100644
@@ -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
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 7 lines · On Fri, 4 Sep 2020 21:01:57 +0800 Wang Hai wrote:

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.

Applied.