From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 10:16:08 +0000 (+0400) Subject: Staging: rt2860: rt_linux: remove casts from void* X-Git-Tag: firefly_0821_release~9833^2~1255^2~1^2~229 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5401843d19c6484d26646de24d679545ec51be0b;p=firefly-linux-kernel-4.4.55.git Staging: rt2860: rt_linux: remove casts from void* Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c index 0029b2d73b70..6536965df3f3 100644 --- a/drivers/staging/rt2860/rt_linux.c +++ b/drivers/staging/rt2860/rt_linux.c @@ -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) {