Staging: nvec: removes an unnecessary cast on a void pointer
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/staging/nvec/nvec_ps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec_ps2.c +1 -1
@@ -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 :
Signature · 1 line
1.9.1