mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h
@ 2006-04-11 17:51 Jesper Juhl
  0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2006-04-11 17:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: James.Bottomley

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)
 {



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-11 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-11 17:51 [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome