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: https://git.stricted.de/?a=commitdiff_plain;h=b514d8c77a6ad9c665c74e6ea7827e5c341095db;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 3039539de51..10d21df1453 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) {