Commit 8e067bb3 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by David S. Miller

benet: remove broken and unused macro

is_broadcast_packet() expands to compare_ether_addr() which doesn't
exist since commit 7367d0b5 ("drivers/net: Convert uses of
compare_ether_addr to ether_addr_equal"). It turns out it's actually not
used.
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8d937552
...@@ -1270,10 +1270,6 @@ static void be_xmit_flush(struct be_adapter *adapter, struct be_tx_obj *txo) ...@@ -1270,10 +1270,6 @@ static void be_xmit_flush(struct be_adapter *adapter, struct be_tx_obj *txo)
#define is_arp_allowed_on_bmc(adapter, skb) \ #define is_arp_allowed_on_bmc(adapter, skb) \
(is_arp(skb) && is_arp_filt_enabled(adapter)) (is_arp(skb) && is_arp_filt_enabled(adapter))
#define is_broadcast_packet(eh, adapter) \
(is_multicast_ether_addr(eh->h_dest) && \
!compare_ether_addr(eh->h_dest, adapter->netdev->broadcast))
#define is_arp(skb) (skb->protocol == htons(ETH_P_ARP)) #define is_arp(skb) (skb->protocol == htons(ETH_P_ARP))
#define is_arp_filt_enabled(adapter) \ #define is_arp_filt_enabled(adapter) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment