Skip to contentSkip to conversation

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

PATCH New Jesper Juhl 1 participant 1 message Apr 11, 2006

lore
Share & tools
lore
#0 lore raw

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

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.

---

 arch/i386/mach-voyager/voyager_cat.c |    1 -
 1 files changed, 1 deletion(-)
arch/i386/mach-voyager/voyager_cat.c +0 -1
@@ -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)
 {