staging: wlan-ng: Remove wrapper function
Remove wrapper function that can be replaced by a single line of code. Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b4f286a953
commit
4e2cdf9324
@ -3504,7 +3504,7 @@ static void hfa384x_usbin_rx(wlandevice_t *wlandev, struct sk_buff *skb)
|
||||
rxmeta->signal = usbin->rxfrm.desc.signal - hw->dbmadjust;
|
||||
rxmeta->noise = usbin->rxfrm.desc.silence - hw->dbmadjust;
|
||||
|
||||
prism2sta_ev_rx(wlandev, skb);
|
||||
p80211netdev_rx(wlandev, skb);
|
||||
|
||||
break;
|
||||
|
||||
@ -3628,7 +3628,7 @@ static void hfa384x_int_rxmonitor(wlandevice_t *wlandev,
|
||||
}
|
||||
|
||||
/* pass it back up */
|
||||
prism2sta_ev_rx(wlandev, skb);
|
||||
p80211netdev_rx(wlandev, skb);
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------
|
||||
|
@ -68,7 +68,6 @@ u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate);
|
||||
void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf);
|
||||
void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status);
|
||||
void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status);
|
||||
void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb);
|
||||
void prism2sta_ev_alloc(wlandevice_t *wlandev);
|
||||
|
||||
int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp);
|
||||
|
@ -1836,27 +1836,6 @@ void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status)
|
||||
wlandev->netdev->stats.tx_packets++;
|
||||
}
|
||||
|
||||
/*
|
||||
* prism2sta_ev_rx
|
||||
*
|
||||
* Handles the Rx event.
|
||||
*
|
||||
* Arguments:
|
||||
* wlandev wlan device structure
|
||||
*
|
||||
* Returns:
|
||||
* nothing
|
||||
*
|
||||
* Side effects:
|
||||
*
|
||||
* Call context:
|
||||
* interrupt
|
||||
*/
|
||||
void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb)
|
||||
{
|
||||
p80211netdev_rx(wlandev, skb);
|
||||
}
|
||||
|
||||
/*
|
||||
* prism2sta_ev_alloc
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user