From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 10:16:04 +0000 (+0400) Subject: Staging: rt2860: rtmp_timer: remove casts from void* X-Git-Tag: firefly_0821_release~9833^2~1255^2~1^2~230 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=11ed93566f829130e596555ad0784a44587b4145;p=firefly-linux-kernel-4.4.55.git Staging: rt2860: rtmp_timer: 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/common/rtmp_timer.c b/drivers/staging/rt2860/common/rtmp_timer.c index 42e47d9dc2c9..ab520909490f 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);