staging: wlan-ng: remove function prism2sta_ev_txexc
The function prism2sta_ev_txexc() is called by the function hfa384x_usbin_txcompl() to print the transmit exception event - a debug information using netdev_dbg(). The debugging utility function can be called directly by hfa384x_usbin_txcompl(). Signed-off-by: Calvince Otieno <calvncce@gmail.com> Link: https://lore.kernel.org/r/ZS5eKFCfu7sGOCHL@lab-ubuntu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
97fe6d0ae7
commit
5fe030e389
@ -3194,7 +3194,7 @@ static void hfa384x_usbin_txcompl(struct wlandevice *wlandev,
|
|||||||
|
|
||||||
/* Was there an error? */
|
/* Was there an error? */
|
||||||
if (HFA384x_TXSTATUS_ISERROR(status))
|
if (HFA384x_TXSTATUS_ISERROR(status))
|
||||||
prism2sta_ev_txexc(wlandev, status);
|
netdev_dbg(wlandev->netdev, "TxExc status=0x%x.\n", status);
|
||||||
else
|
else
|
||||||
prism2sta_ev_tx(wlandev, status);
|
prism2sta_ev_tx(wlandev, status);
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,7 @@ extern int prism2_reset_settletime;
|
|||||||
|
|
||||||
u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate);
|
u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate);
|
||||||
|
|
||||||
void prism2sta_ev_info(struct wlandevice *wlandev,
|
void prism2sta_ev_info(struct wlandevice *wlandev, struct hfa384x_inf_frame *inf);
|
||||||
struct hfa384x_inf_frame *inf);
|
|
||||||
void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status);
|
|
||||||
void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status);
|
void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status);
|
||||||
void prism2sta_ev_alloc(struct wlandevice *wlandev);
|
void prism2sta_ev_alloc(struct wlandevice *wlandev);
|
||||||
|
|
||||||
|
@ -1748,30 +1748,6 @@ void prism2sta_ev_info(struct wlandevice *wlandev,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* prism2sta_ev_txexc
|
|
||||||
*
|
|
||||||
* Handles the TxExc event. A Transmit Exception event indicates
|
|
||||||
* that the MAC's TX process was unsuccessful - so the packet did
|
|
||||||
* not get transmitted.
|
|
||||||
*
|
|
||||||
* Arguments:
|
|
||||||
* wlandev wlan device structure
|
|
||||||
* status tx frame status word
|
|
||||||
*
|
|
||||||
* Returns:
|
|
||||||
* nothing
|
|
||||||
*
|
|
||||||
* Side effects:
|
|
||||||
*
|
|
||||||
* Call context:
|
|
||||||
* interrupt
|
|
||||||
*/
|
|
||||||
void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status)
|
|
||||||
{
|
|
||||||
netdev_dbg(wlandev->netdev, "TxExc status=0x%x.\n", status);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* prism2sta_ev_tx
|
* prism2sta_ev_tx
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user