Commit ef7d8ba1 authored by Kulikov Vasiliy's avatar Kulikov Vasiliy Committed by Greg Kroah-Hartman

Staging: rt2860: usb_main_dev: remove casts from void*

Remove unnesessary casts from void*.
Signed-off-by: default avatarKulikov Vasiliy <segooon@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5401843d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment