lkml.org 
[lkml]   [2006]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h
Date
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/

\
 
 \ /
  Last update: 2006-04-11 19:53    [W:0.019 / U:2.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site