Commit 0df8f51e authored by Ben Marsh's avatar Ben Marsh Committed by Greg Kroah-Hartman

Staging: nvec: removes an unnecessary cast on a void pointer

Patch to nvec_ps2.c to remove an unnecessary cast on a void pointer.
Signed-off-by: default avatarBen Marsh <bmarsh94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60d0ed1c
...@@ -78,7 +78,7 @@ static int nvec_ps2_notifier(struct notifier_block *nb, ...@@ -78,7 +78,7 @@ static int nvec_ps2_notifier(struct notifier_block *nb,
unsigned long event_type, void *data) unsigned long event_type, void *data)
{ {
int i; int i;
unsigned char *msg = (unsigned char *)data; unsigned char *msg = data;
switch (event_type) { switch (event_type) {
case NVEC_PS2_EVT: case NVEC_PS2_EVT:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment