Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Jesper Juhl <> | Subject | [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h | Date | Tue, 11 Apr 2006 19:51:25 +0200 |
| |
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 <jesper.juhl@gmail.com> ---
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |