On Wed, 2013-10-16 at 19:31 -0300, Geyslan G. Bem wrote: > Get rid of unnecessary (void *) casting in 'cypress_init' function. [] > diff --git a/drivers/input/mouse/cypress_ps2.c b/drivers/input/mouse/cypress_ps2.c [] > @@ -680,7 +680,7 @@ int cypress_init(struct psmouse *psmouse) > struct cytp_data *cytp; > > cytp = (struct cytp_data *)kzalloc(sizeof(struct cytp_data), GFP_KERNEL); > - psmouse->private = (void *)cytp; > + psmouse->private = cytp; If you are going to remove useless casts, please also remove the unnecessary kzalloc cast too. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html