Skip to content

Commit

Permalink
Staging: w35und: Kill empty Mds_Destroy function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Nov 10, 2010
1 parent 9dd5f27 commit 6112063
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions drivers/staging/winbond/mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ Mds_initial(struct wbsoft_priv *adapter)
return hal_get_tx_buffer(&adapter->sHwData, &pMds->pTxBuffer);
}

void
Mds_Destroy(struct wbsoft_priv *adapter)
{
}

static void Mds_DurationSet(struct wbsoft_priv *adapter, struct wb35_descriptor *pDes, u8 *buffer)
{
struct T00_descriptor *pT00;
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/winbond/mds_f.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "core.h"

unsigned char Mds_initial(struct wbsoft_priv *adapter);
void Mds_Destroy(struct wbsoft_priv *adapter);
void Mds_Tx(struct wbsoft_priv *adapter);
void Mds_SendComplete(struct wbsoft_priv *adapter, struct T02_descriptor *pt02);
void Mds_MpduProcess(struct wbsoft_priv *adapter, struct wb35_descriptor *prxdes);
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,6 @@ static void hal_halt(struct hw_data *pHwData)

static void wb35_hw_halt(struct wbsoft_priv *adapter)
{
Mds_Destroy(adapter);

/* Turn off Rx and Tx hardware ability */
hal_stop(&adapter->sHwData);
#ifdef _PE_USB_INI_DUMP_
Expand Down

0 comments on commit 6112063

Please sign in to comment.