Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: w35und: Kill empty Mds_Destroy function

The Mds_Destroy() function doesn't do anything so kill it.

Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Pekka Enberg and committed by
Greg Kroah-Hartman
6112063d 9dd5f271

-8
-5
drivers/staging/winbond/mds.c
··· 18 18 return hal_get_tx_buffer(&adapter->sHwData, &pMds->pTxBuffer); 19 19 } 20 20 21 - void 22 - Mds_Destroy(struct wbsoft_priv *adapter) 23 - { 24 - } 25 - 26 21 static void Mds_DurationSet(struct wbsoft_priv *adapter, struct wb35_descriptor *pDes, u8 *buffer) 27 22 { 28 23 struct T00_descriptor *pT00;
-1
drivers/staging/winbond/mds_f.h
··· 5 5 #include "core.h" 6 6 7 7 unsigned char Mds_initial(struct wbsoft_priv *adapter); 8 - void Mds_Destroy(struct wbsoft_priv *adapter); 9 8 void Mds_Tx(struct wbsoft_priv *adapter); 10 9 void Mds_SendComplete(struct wbsoft_priv *adapter, struct T02_descriptor *pt02); 11 10 void Mds_MpduProcess(struct wbsoft_priv *adapter, struct wb35_descriptor *prxdes);
-2
drivers/staging/winbond/wbusb.c
··· 863 863 864 864 static void wb35_hw_halt(struct wbsoft_priv *adapter) 865 865 { 866 - Mds_Destroy(adapter); 867 - 868 866 /* Turn off Rx and Tx hardware ability */ 869 867 hal_stop(&adapter->sHwData); 870 868 #ifdef _PE_USB_INI_DUMP_