Skip to content

Commit

Permalink
net: drivers: kill two unused macro definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Reviewed-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shan Wei authored and David S. Miller committed May 15, 2011
1 parent 3f874ad commit 534ea99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions drivers/net/bonding/bonding.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@
netif_running(dev) && \
netif_carrier_ok(dev))

/*
* Checks whether bond is ready for transmit.
*
* Caller must hold bond->lock
*/
#define BOND_IS_OK(bond) \
(((bond)->dev->flags & IFF_UP) && \
netif_running((bond)->dev) && \
((bond)->slave_cnt > 0))

/*
* Checks whether slave is ready for transmit.
*/
Expand Down
1 change: 0 additions & 1 deletion drivers/net/veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#define MIN_MTU 68 /* Min L3 MTU */
#define MAX_MTU 65535 /* Max L3 MTU (arbitrary) */
#define MTU_PAD (ETH_HLEN + 4) /* Max difference between L2 and L3 size MTU */

struct veth_net_stats {
unsigned long rx_packets;
Expand Down

0 comments on commit 534ea99

Please sign in to comment.