staging: vt6656: int.c: Remove unneeded cast
authorJesper Juhl <jj@chaosbits.net>
Wed, 27 Jun 2012 20:01:47 +0000 (22:01 +0200)
committerGreg 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

index 286ac3e46075dfe38eb446e5aaa19dc70f6c7a91..e7f66241b9b5f02ab07423990135ba314eb70cc5 100644 (file)
@@ -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");