BLOCK_PRIV is never used after it was introduced.
So better to remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 #define BLOCK_LEN(x)           ((x)->hdr.bh1.blk_len)
 #define BLOCK_SNUM(x)          ((x)->hdr.bh1.seq_num)
 #define BLOCK_O2PRIV(x)        ((x)->offset_to_priv)
-#define BLOCK_PRIV(x)          ((void *)((char *)(x) + BLOCK_O2PRIV(x)))
 
 struct packet_sock;
 static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev,