Patch to nvec.c to remove a useless cast on a void pointer. Signed-off-by: Ben Marsh <bmarsh94@xxxxxxxxx> --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index c335ae2..52d1363 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -141,7 +141,7 @@ static int nvec_status_notifier(struct notifier_block *nb, { struct nvec_chip *nvec = container_of(nb, struct nvec_chip, nvec_status_notifier); - unsigned char *msg = (unsigned char *)data; + unsigned char *msg = data; if (event_type != NVEC_CNTL) return NOTIFY_DONE; -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel