mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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:
parent
5401843d19
commit
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user