Staging: rt2860: rtmp_timer: remove casts from void*
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 29 Jun 2010 10:16:04 +0000 (14:16 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:49:36 +0000 (13:49 -0700)
Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/rtmp_timer.c

index 42e47d9..ab52090 100644 (file)
@@ -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);