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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux