From 0cc2fce3ad6c0ed3a852d107b0244121118fb26b Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 5 Jan 2010 18:42:35 -0800 Subject: [PATCH] Fix compilation warning on iface.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes this compilation warning: CC [M] /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_stop’: /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:392: warning: statement with no effect /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:397: warning: statement with no effect Signed-off-by: Luis R. Rodriguez --- include/linux/compat-2.6.27.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/compat-2.6.27.h b/include/linux/compat-2.6.27.h index ed10a6c479b6..3b29294c3dc8 100644 --- a/include/linux/compat-2.6.27.h +++ b/include/linux/compat-2.6.27.h @@ -45,8 +45,8 @@ bool pci_pme_capable(struct pci_dev *dev, pci_power_t state); /* * The net_device has a spin_lock on newer kernels, on older kernels we're out of luck */ -#define netif_addr_lock_bh -#define netif_addr_unlock_bh +#define netif_addr_lock_bh(dev) +#define netif_addr_unlock_bh(dev) /* * To port this properly we'd have to port warn_slowpath_null(), -- 2.30.2