Skip to content

Commit

Permalink
Staging: rt2860: usb_main_dev: remove casts from void*
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 5401843 commit ef7d8ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/rt2860/usb_main_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit ef7d8ba

Please sign in to comment.