mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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: Ben Marsh <bmarsh94@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60d0ed1c42
commit
0df8f51eed
@ -78,7 +78,7 @@ static int nvec_ps2_notifier(struct notifier_block *nb,
|
||||
unsigned long event_type, void *data)
|
||||
{
|
||||
int i;
|
||||
unsigned char *msg = (unsigned char *)data;
|
||||
unsigned char *msg = data;
|
||||
|
||||
switch (event_type) {
|
||||
case NVEC_PS2_EVT:
|
||||
|
Loading…
Reference in New Issue
Block a user