Skip to content

Commit

Permalink
staging: vt6656: int.c: Remove unneeded cast
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jjuhl authored and gregkh committed Jul 6, 2012
1 parent ea15b7b commit 92fa897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 92fa897

Please sign in to comment.