Btrfs: remove macros tlv_put_u8/16/32
PATCH 1/1 Btrfs: remove macros tlv_put_u8/16/32
These 3 macros are never used after introduced from commit 31db9f7c23fb ("Btrfs: introduce BTRFS_IOC_SEND for btrfs send/receive"), maybe better to remove them.
Signed-off-by Alex Shi <[email protected]>
Cc Chris Mason <[email protected]>
Cc Josef Bacik <[email protected]>
Cc David Sterba <[email protected]>
--- fs/btrfs/send.c | 3 --- 1 file changed, 3 deletions(-)
fs/btrfs/send.c +0 -3
@@ -639,9 +639,6 @@ static int tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, goto tlv_put_failure; \ } while (0) -#define TLV_PUT_U8 (sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 8, data) -#define TLV_PUT_U16 (sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 16, data) -#define TLV_PUT_U32 (sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 32, data)#define TLV_PUT_U64 (sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 64, data)#define TLV_PUT_STRING (sctx, attrtype, str, len) \ do { \
Signature · 1 line
1.8.3.1