2006-09-29 03:37:04

by Richard Knutsson

[permalink] [raw]
Subject: [PATCH -mm] drivers/media/video/cx88: Remove unused defined FALSE/TRUE

From: Richard Knutsson <[email protected]>

Remove defines of FALSE/TRUE because they are not used.

Signed-off-by: Richard Knutsson <[email protected]>

---

'find -name *.[chS] | xargs grep "cx88.h"' found nothing outside cx88/
Against 2.6.18-mm2, compile-tested


diff -Narup -X linux-2.6.18-mm2/Documentation/dontdiff linux-2.6.18-mm2/drivers/media/video/cx88/cx88.h linux-2.6.18-mm2_drivers_media_video_cx88/drivers/media/video/cx88/cx88.h
--- linux-2.6.18-mm2/drivers/media/video/cx88/cx88.h 2006-09-29 04:55:44.000000000 +0200
+++ linux-2.6.18-mm2_drivers_media_video_cx88/drivers/media/video/cx88/cx88.h 2006-09-29 04:49:48.000000000 +0200
@@ -39,12 +39,6 @@
#include <linux/mutex.h>
#define CX88_VERSION_CODE KERNEL_VERSION(0,0,6)

-#ifndef TRUE
-# define TRUE (1==1)
-#endif
-#ifndef FALSE
-# define FALSE (1==0)
-#endif
#define UNSET (-1U)

#define CX88_MAXBOARDS 8