Re: [PATCH] drivers/media/common: remove unnecessary casts of void*

From: Mauro Carvalho Chehab
Date: Thu Jan 28 2010 - 23:59:18 EST


H Hartley Sweeten wrote:
> drivers/media/common: Remove unnecessary casts of void *
>
> void pointers do not need to be cast to other pointer types.
>

> diff --git a/drivers/media/common/saa7146_vbi.c b/drivers/media/common/saa7146_vbi.c
> index 74e2b56..301a795 100644
> --- a/drivers/media/common/saa7146_vbi.c
> +++ b/drivers/media/common/saa7146_vbi.c
> @@ -3,7 +3,7 @@
> static int vbi_pixel_to_capture = 720 * 2;
>
> static int vbi_workaround(struct saa7146_dev *dev)
> -{
> +{.remove_casts.hhs~

What's this? It seems that your patch got corrupted somehow.

Cheers,
Mauro

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/