[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090907.020423.151248729.davem@davemloft.net>
Date: Mon, 07 Sep 2009 02:04:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sfr@...b.auug.org.au
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
shemminger@...tta.com
Subject: Re: linux-next: net tree build warning
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Fri, 4 Sep 2009 14:42:32 +1000
> Today's linux-next build (x86_64 allmodconfig gcc-4.4.0) produced this warning:
>
> drivers/net/r8169.c: In function 'rtl8169_start_xmit':
> drivers/net/r8169.c:3421: warning: label 'out' defined but not used
>
> Introduced by commit 61357325f377889a1daffa14962d705dc814dd0e ("netdev:
> convert bulk of drivers to netdev_tx_t").
Thanks for the report, I'll commit the fix below.
Also, Stephen Hemminger has fixed the dlci WAN driver warning
you reported too.
r8169: Fix warning in rtl8169_start_xmit().
Reported by Stephen Rothwell:
drivers/net/r8169.c: In function 'rtl8169_start_xmit':
drivers/net/r8169.c:3421: warning: label 'out' defined but not used
Introduced by commit 61357325f377889a1daffa14962d705dc814dd0e ("netdev:
convert bulk of drivers to netdev_tx_t").
Signed-off-by: David S. Miller <davem@...emloft.net>
---
drivers/net/r8169.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index a91e9b3..50c6a3c 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -3416,7 +3416,6 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
netif_wake_queue(dev);
}
-out:
return NETDEV_TX_OK;
err_stop:
--
1.6.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists