projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37157cc
)
Staging: rt2860: rtmp_timer: remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:16:04 +0000
(14:16 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Jul 2010 20:49:36 +0000
(13:49 -0700)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/rtmp_timer.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rt2860/common/rtmp_timer.c
b/drivers/staging/rt2860/common/rtmp_timer.c
index 42e47d9dc2c90416395357b38bd4312b9b5b47bd..ab520909490f7f0ba42b8b0c5c7cf20297c9df30 100644
(file)
--- a/
drivers/staging/rt2860/common/rtmp_timer.c
+++ b/
drivers/staging/rt2860/common/rtmp_timer.c
@@
-143,8
+143,8
@@
int RtmpTimerQThread(IN void *Context)
struct rt_rtmp_os_task *pTask;
struct rt_rtmp_adapter *pAd;
- pTask =
(struct rt_rtmp_os_task *)
Context;
- pAd =
(struct rt_rtmp_adapter *)
pTask->priv;
+ pTask = Context;
+ pAd = pTask->priv;
RtmpOSTaskCustomize(pTask);