From: Jesper Juhl Date: Wed, 19 Apr 2006 05:21:49 +0000 (-0700) Subject: [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b514d8c77a6ad9c665c74e6ea7827e5c341095db;p=openwrt%2Fstaging%2Fblogic.git [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h Signed-off-by: Jesper Juhl Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/mach-voyager/voyager_cat.c b/arch/i386/mach-voyager/voyager_cat.c index 3039539de51e..10d21df14531 100644 --- a/arch/i386/mach-voyager/voyager_cat.c +++ b/arch/i386/mach-voyager/voyager_cat.c @@ -120,7 +120,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) {