Skip to content

Commit

Permalink
Staging: w35und: remove rxisr.c as dead code
Browse files Browse the repository at this point in the history
The vRxTimerStart() function is never called nor does the timer do anything
useful so remove the code.

Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 82321c2 commit a3f245a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 42 deletions.
1 change: 0 additions & 1 deletion drivers/staging/winbond/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ w35und-objs := \
mto.o \
phy_calibration.o \
reg.o \
rxisr.o \
wb35reg.o \
wb35rx.o \
wb35tx.o \
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/winbond/mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ Mds_initial(struct wbsoft_priv * adapter)
pMds->TxRTSThreshold = DEFAULT_RTSThreshold;
pMds->TxFragmentThreshold = DEFAULT_FRAGMENT_THRESHOLD;

vRxTimerInit(adapter);//for WPA countermeasure

return hal_get_tx_buffer( &adapter->sHwData, &pMds->pTxBuffer );
}

void
Mds_Destroy(struct wbsoft_priv * adapter)
{
vRxTimerStop(adapter);
}

static void Mds_DurationSet(struct wbsoft_priv *adapter, PDESCRIPTOR pDes, u8 *buffer)
Expand Down
5 changes: 0 additions & 5 deletions drivers/staging/winbond/mds_f.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ void Mds_SendComplete( struct wbsoft_priv *adapter, PT02_DESCRIPTOR pT02 );
void Mds_MpduProcess( struct wbsoft_priv *adapter, PDESCRIPTOR pRxDes );
extern void DataDmp(u8 *pdata, u32 len, u32 offset);


void vRxTimerInit(struct wbsoft_priv *adapter);
void vRxTimerStart(struct wbsoft_priv *adapter, int timeout_value);
void vRxTimerStop(struct wbsoft_priv *adapter);

// For Asynchronous indicating. The routine collocates with USB.
void Mds_MsduProcess( struct wbsoft_priv *adapter, PRXLAYER1 pRxLayer1, u8 SlotIndex);

Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/winbond/mds_s.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ typedef struct _MDS
u8 boCounterMeasureBlock;
u8 reserved_4[2];

struct timer_list timer;

u32 TxTsc; // 20060214
u32 TxTsc_2; // 20060214

Expand Down
28 changes: 0 additions & 28 deletions drivers/staging/winbond/rxisr.c

This file was deleted.

3 changes: 0 additions & 3 deletions drivers/staging/winbond/sysdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@
#define _PE_USB_INI_DUMP_
#endif

// Kernel Timer resolution, NDIS is 10ms, 10000us
#define MIN_TIMEOUT_VAL (10) //ms

#endif

0 comments on commit a3f245a

Please sign in to comment.