summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2/wl_internal.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-12 10:37:21 -0700
committerDavid S. Miller <davem@davemloft.net>2011-07-12 12:28:58 -0700
commite2270ea62ae4d7a47d6d72942cdb8c669be6357a (patch)
tree3042f8e18df5d725a538ea4335253c6cdebb0073 /drivers/staging/wlags49_h2/wl_internal.h
parentb691347a92e12e0bf19fe500eb23cf0363f2ecd5 (diff)
downloadop-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.h7
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 */
OpenPOWER on IntegriCloud