diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-12 10:37:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-12 12:28:58 -0700 |
commit | e2270ea62ae4d7a47d6d72942cdb8c669be6357a (patch) | |
tree | 3042f8e18df5d725a538ea4335253c6cdebb0073 /drivers/staging/wlags49_h2/wl_internal.h | |
parent | b691347a92e12e0bf19fe500eb23cf0363f2ecd5 (diff) | |
download | op-kernel-dev-e2270ea62ae4d7a47d6d72942cdb8c669be6357a.zip op-kernel-dev-e2270ea62ae4d7a47d6d72942cdb8c669be6357a.tar.gz |
netdevice: Kill 'feature' test macros.
Almost all of these have long outstayed their welcome.
And for every one of these macros, there are 10 features for which we
didn't add macros.
Let's just delete them all, and get out of habit of doing things this
way.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_internal.h')
-rw-r--r-- | drivers/staging/wlags49_h2/wl_internal.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/wlags49_h2/wl_internal.h b/drivers/staging/wlags49_h2/wl_internal.h index cd129b3..e86aad5 100644 --- a/drivers/staging/wlags49_h2/wl_internal.h +++ b/drivers/staging/wlags49_h2/wl_internal.h @@ -990,14 +990,7 @@ struct wl_private #endif // USE_WDS }; // wl_private -#ifdef HAVE_NETDEV_PRIV #define wl_priv(dev) ((struct wl_private *) netdev_priv(dev)) -#else -extern inline struct wl_private *wl_priv(struct net_device *dev) -{ - return dev->priv; -} -#endif /********************************************************************/ /* Locking and synchronization functions */ |