diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-01 09:52:14 -0400 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-01 09:52:14 -0400 |
commit | e614e28eac1afcdc3d1275f3e1478aa3e5acc500 (patch) | |
tree | 589b73309a811636ea7689e1da0dee32610d7cde /drivers/staging/bcm/InterfaceMisc.c | |
parent | 2515ab628f227b0711393993fe3228e167cc988f (diff) |
beceem: remove indirection to Adapter structure
Allocate Adapter structure as part of network device.
Signed-off-by: Stephen Hemminber <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm/InterfaceMisc.c')
-rw-r--r-- | drivers/staging/bcm/InterfaceMisc.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/bcm/InterfaceMisc.c b/drivers/staging/bcm/InterfaceMisc.c index 2d98b7e846c..6ee5dbb6154 100644 --- a/drivers/staging/bcm/InterfaceMisc.c +++ b/drivers/staging/bcm/InterfaceMisc.c @@ -1,16 +1,5 @@ #include "headers.h" - -PS_INTERFACE_ADAPTER -InterfaceAdapterGet(PMINI_ADAPTER psAdapter) -{ - if(psAdapter == NULL) - { - return NULL; - } - return (PS_INTERFACE_ADAPTER)(psAdapter->pvInterfaceAdapter); -} - INT InterfaceRDM(PS_INTERFACE_ADAPTER psIntfAdapter, UINT addr, |