Staging: rt2860: rt_linux: remove casts from void*
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 29 Jun 2010 10:16:08 +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/rt_linux.c

index 0029b2d73b706333f4a23fe96a5b303ae7aa21f6..6536965df3f30ed86a5238e976bd4542553eacad 100644 (file)
@@ -1015,7 +1015,7 @@ int RtmpOSTaskKill(struct rt_rtmp_os_task *pTask)
        struct rt_rtmp_adapter *pAd;
        int ret = NDIS_STATUS_FAILURE;
 
-       pAd = (struct rt_rtmp_adapter *)pTask->priv;
+       pAd = pTask->priv;
 
 #ifdef KTHREAD_SUPPORT
        if (pTask->kthread_task) {