[PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h

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

 



BITS_PER_BYTE is defined in linux/types.h which is already included by 
arch/i386/mach-voyager/voyager_cat.c , so there's no need to define it 
again.


Signed-off-by: Jesper Juhl <[email protected]>
---

 arch/i386/mach-voyager/voyager_cat.c |    1 -
 1 files changed, 1 deletion(-)

--- linux-2.6.17-rc1-git4-orig/arch/i386/mach-voyager/voyager_cat.c	2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6.17-rc1-git4/arch/i386/mach-voyager/voyager_cat.c	2006-04-11 19:47:02.000000000 +0200
@@ -114,7 +114,6 @@ static struct resource qic_res = {
  * It writes num_bits of the data buffer in msg starting at start_bit.
  * Note: This function assumes that any unused bit in the data stream
  * is set to zero so that the ors will work correctly */
-#define BITS_PER_BYTE 8
 static void
 cat_pack(__u8 *msg, const __u16 start_bit, __u8 *data, const __u16 num_bits)
 {


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux