Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 534ea99b authored by Shan Wei's avatar Shan Wei Committed by David S. Miller
Browse files

net: drivers: kill two unused macro definitions

parent 3f874adc
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -38,16 +38,6 @@
	       netif_running(dev)			&& \
	       netif_running(dev)			&& \
	       netif_carrier_ok(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.
 * Checks whether slave is ready for transmit.
 */
 */
+0 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,6 @@


#define MIN_MTU 68		/* Min L3 MTU */
#define MIN_MTU 68		/* Min L3 MTU */
#define MAX_MTU 65535		/* Max L3 MTU (arbitrary) */
#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 {
struct veth_net_stats {
	unsigned long	rx_packets;
	unsigned long	rx_packets;