mirror of https://gitee.com/openkylin/linux.git
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)
|
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:
|
||||||
|
|
Loading…
Reference in New Issue