projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea15b7b
)
staging: vt6656: int.c: Remove unneeded cast
author
Jesper Juhl
<jj@chaosbits.net>
Wed, 27 Jun 2012 20:01:47 +0000
(22:01 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 6 Jul 2012 23:10:54 +0000
(16:10 -0700)
When assigning a void* to a variable <of some other type>, the value
is cast implicitly - there's no need for explicit cast.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/int.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/vt6656/int.c
b/drivers/staging/vt6656/int.c
index 286ac3e46075dfe38eb446e5aaa19dc70f6c7a91..e7f66241b9b5f02ab07423990135ba314eb70cc5 100644
(file)
--- a/
drivers/staging/vt6656/int.c
+++ b/
drivers/staging/vt6656/int.c
@@
-77,7
+77,7
@@
static int msglevel = MSG_LEVEL_INFO; /* MSG_LEVEL_DEBUG */
-*/
void INTvWorkItem(void *Context)
{
- PSDevice pDevice =
(PSDevice)
Context;
+ PSDevice pDevice = Context;
int ntStatus;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Interrupt Polling Thread\n");