From ef7d8ba135042e5da15b861e11ff48385308632a Mon Sep 17 00:00:00 2001 From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 14:16:12 +0400 Subject: [PATCH] Staging: rt2860: usb_main_dev: remove casts from void* Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy Reviewed-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rt2860/usb_main_dev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rt2860/usb_main_dev.c b/drivers/staging/rt2860/usb_main_dev.c index b740662d095a..40eab25223f7 100644 --- a/drivers/staging/rt2860/usb_main_dev.c +++ b/drivers/staging/rt2860/usb_main_dev.c @@ -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); -- 2.20.1