RE: [PATCH 4/5] staging/easycap: PAGE_SIZE is always defined

From: Winkler, Tomas
Date: Mon Jun 13 2011 - 08:26:55 EST




> -----Original Message-----
> From: Kirill Smelkov [mailto:kirr@xxxxxxxxxx]
> Sent: Monday, June 13, 2011 3:19 PM
> To: Greg Kroah-Hartman
> Cc: Winkler, Tomas; Mike Thomas; devel@xxxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; Kirill Smelkov
> Subject: [PATCH 4/5] staging/easycap: PAGE_SIZE is always defined
>
> I'm not 100% sure, only 99.99% that PAGE_SIZE is always defined in Linux. So
> there is no need to check for it.
>
> Cc: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> Cc: Mike Thomas <rmthomas@xxxxxxxxxxx>
> Signed-off-by: Kirill Smelkov <kirr@xxxxxxxxxx>
Acked-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> ---
> drivers/staging/easycap/easycap.h | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/easycap/easycap.h
> b/drivers/staging/easycap/easycap.h
> index 1f94e23..5d21620 100644
> --- a/drivers/staging/easycap/easycap.h
> +++ b/drivers/staging/easycap/easycap.h
> @@ -85,10 +85,6 @@
> #include <linux/videodev2.h>
> #include <linux/soundcard.h>
>
> -#ifndef PAGE_SIZE
> -#error "PAGE_SIZE not defined"
> -#endif /* PAGE_SIZE */
> -
> /*---------------------------------------------------------------------------*/
> /* VENDOR, PRODUCT: Syntek Semiconductor Co., Ltd
> *
> --
> 1.7.6.rc1

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
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/