Staging: rt2860: usb_main_dev: remove casts from void*
Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
5401843d19
Коммит
ef7d8ba135
|
@ -421,8 +421,8 @@ int MlmeThread(IN void *Context)
|
|||
int status;
|
||||
status = 0;
|
||||
|
||||
pTask = (struct rt_rtmp_os_task *)Context;
|
||||
pAd = (struct rt_rtmp_adapter *)pTask->priv;
|
||||
pTask = Context;
|
||||
pAd = pTask->priv;
|
||||
|
||||
RtmpOSTaskCustomize(pTask);
|
||||
|
||||
|
@ -490,8 +490,8 @@ int RTUSBCmdThread(IN void *Context)
|
|||
int status;
|
||||
status = 0;
|
||||
|
||||
pTask = (struct rt_rtmp_os_task *)Context;
|
||||
pAd = (struct rt_rtmp_adapter *)pTask->priv;
|
||||
pTask = Context;
|
||||
pAd = pTask->priv;
|
||||
|
||||
RtmpOSTaskCustomize(pTask);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче