diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-29 15:22:10 (GMT) |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-30 03:45:01 (GMT) |
commit | 92bc60580e55d18494a23ba8ae642a464ebfd7a6 (patch) | |
tree | 2a31b00fec8ac0d1c381e84078af33fd7d9f642b /drivers/staging/bcm/Transmit.c | |
parent | 2b5e625882a7130c339e4ad2ac2b8f0422f11919 (diff) | |
download | linux-fsl-qoriq-92bc60580e55d18494a23ba8ae642a464ebfd7a6.tar.xz |
beceem: get rid of OS dependent data structure
The only part of this structure still used was the network
device stats, and in recent kernel these are available in
network device itself.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm/Transmit.c')
-rw-r--r-- | drivers/staging/bcm/Transmit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Transmit.c b/drivers/staging/bcm/Transmit.c index 597786a..9848a6a 100644 --- a/drivers/staging/bcm/Transmit.c +++ b/drivers/staging/bcm/Transmit.c @@ -212,9 +212,6 @@ INT SendControlPacket(PMINI_ADAPTER Adapter, /**<Logical Adapter*/ Adapter->interface_transmit(Adapter->pvInterfaceAdapter, pControlPacket, (PLeader->PLength + LEADER_SIZE)); - ((PLINUX_DEP_DATA)Adapter->pvOsDepData)->netstats.tx_packets++; - ((PLINUX_DEP_DATA)Adapter->pvOsDepData)->netstats.tx_bytes+= - PLeader->PLength; atomic_dec(&Adapter->CurrNumFreeTxDesc); BCM_DEBUG_PRINT(Adapter,DBG_TYPE_TX, TX_CONTROL, DBG_LVL_ALL, "<========="); return STATUS_SUCCESS; |