netdev
[Top] [All Lists]

[2.6 patch] irda/qos.c: remove an unused function

To: Dag Brattli <dagb@xxxxxxxxx>, Jean Tourrilhes <jt@xxxxxxxxxx>
Subject: [2.6 patch] irda/qos.c: remove an unused function
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Fri, 29 Oct 2004 02:18:09 +0200
Cc: irda-users@xxxxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20041028222238.GP3207@stusta.de>
References: <20041028222238.GP3207@stusta.de>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from net/irda/qos.c


diffstat output:
 net/irda/qos.c |   11 -----------
 1 files changed, 11 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm1-full/net/irda/qos.c.old        2004-10-28 
23:51:59.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/net/irda/qos.c    2004-10-28 23:52:08.000000000 
+0200
@@ -211,17 +211,6 @@
        return index;
 }
 
-static inline __u32 byte_value(__u8 byte, __u32 *array) 
-{
-       int index;
-
-       ASSERT(array != NULL, return -1;);
-
-       index = msb_index(byte);
-
-       return index_value(index, array);
-}
-
 /*
  * Function value_lower_bits (value, array)
  *

<Prev in Thread] Current Thread [Next in Thread>