Staging: w35und: remove dead code from wbhal.c
[linux-2.6/btrfs-unstable.git] / drivers / staging / winbond / rxisr.c
blobd591003a38ec1b999589b7c6be4e8a7e2df7b1f6
1 #include "os_common.h"
2 #include "core.h"
4 static void RxTimerHandler(unsigned long data)
6 WARN_ON(1);
9 void vRxTimerInit(struct wbsoft_priv *adapter)
11 init_timer(&adapter->Mds.timer);
12 adapter->Mds.timer.function = RxTimerHandler;
13 adapter->Mds.timer.data = (unsigned long) adapter;
16 void vRxTimerStart(struct wbsoft_priv *adapter, int timeout_value)
18 if (timeout_value < MIN_TIMEOUT_VAL)
19 timeout_value = MIN_TIMEOUT_VAL;
21 adapter->Mds.timer.expires = jiffies + msecs_to_jiffies(timeout_value);
22 add_timer(&adapter->Mds.timer);
25 void vRxTimerStop(struct wbsoft_priv *adapter)
27 del_timer_sync(&adapter->Mds.timer);