diff --git a/drivers/staging/rt2860/common/rtmp_timer.c b/drivers/staging/rt2860/common/rtmp_timer.c index 42e47d9dc2c90416395357b38bd4312b9b5b47bd..ab520909490f7f0ba42b8b0c5c7cf20297c9df30 100644 --- a/drivers/staging/rt2860/common/rtmp_timer.c +++ b/drivers/staging/rt2860/common/rtmp_timer.c @@ -143,8 +143,8 @@ int RtmpTimerQThread(IN void *Context) struct rt_rtmp_os_task *pTask; struct rt_rtmp_adapter *pAd; - pTask = (struct rt_rtmp_os_task *)Context; - pAd = (struct rt_rtmp_adapter *)pTask->priv; + pTask = Context; + pAd = pTask->priv; RtmpOSTaskCustomize(pTask);