]> git.openfabrics.org - ~emulex/for-vlad/compat.git/commitdiff
compat-3.6.h: Cleanup
authorVladimir Sokolovsky <vlad@mellanox.com>
Thu, 21 May 2015 12:53:25 +0000 (15:53 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Thu, 21 May 2015 12:53:25 +0000 (15:53 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
include/linux/compat-3.6.h

index 537eb013ee42a85f0d770db1b0c668cbce2ce0a7..6c6af520f6879833681b1d4f797535af6449deb2 100644 (file)
@@ -58,7 +58,6 @@ int sg_alloc_table_from_pages(struct sg_table *sgt,
 #define  PCI_EXP_LNKCAP2_CROSSLINK     0x100 /* Crosslink supported */
 #endif
 
-#include <net/genetlink.h>
 #include <linux/etherdevice.h>
 
 /**
@@ -73,8 +72,6 @@ static inline void eth_broadcast_addr(u8 *addr)
        memset(addr, 0xff, ETH_ALEN);
 }
 
-#define GENLMSG_DEFAULT_SIZE (NLMSG_DEFAULT_SIZE - GENL_HDRLEN)
-
 /*
  * Backports 
  *