提交 0df8f51e 编写于 作者: B Ben Marsh 提交者: 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: NBen Marsh <bmarsh94@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 60d0ed1c
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册