netdev
[Top] [All Lists]

kill unused define in ipw

To: jketreno@xxxxxxxxxxxxxxx
Subject: kill unused define in ipw
From: Pavel Machek <pavel@xxxxxx>
Date: Wed, 11 May 2005 23:43:07 +0200
Cc: kernel list <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
Hi!

This kills unused KILL_CHECK_THRESHOLD and KERNEL_SYSCALLS. They
should not be needed any more. Please apply,

[What is the merge status? Version 1.1 seems quite okay, but it could
use some "#ifdef 2.6.10" removal". Can I help?]
                                                                Pavel
PS: Please Cc me, I'm not on netdev.

Signed-off-by: Pavel Machek <pavel@xxxxxxx>

--- /data/l/clean-mm/drivers/net/wireless/ipw2100.c     2005-05-11 
22:00:02.000000000 +0200
+++ linux-mm/drivers/net/wireless/ipw2100.c     2005-05-11 23:37:25.000000000 
+0200
@@ -150,7 +150,6 @@
 #include <linux/skbuff.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
-#define __KERNEL_SYSCALLS__
 #include <linux/fs.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
@@ -1117,7 +1116,6 @@
 {
 #define MAX_RF_KILL_CHECKS 5
 #define RF_KILL_CHECK_DELAY 40
-#define RF_KILL_CHECK_THRESHOLD 3
 
        unsigned short value = 0;
        u32 reg = 0;

-- 
Boycott Kodak -- for their patent abuse against Java.

<Prev in Thread] Current Thread [Next in Thread>
  • kill unused define in ipw, Pavel Machek <=