* [patch-kj] net/econet/af_econet.c fix warning xyz never used
@ 2004-06-21 17:09 maximilian attems
2004-06-21 17:51 ` YOSHIFUJI Hideaki / 吉藤英明
0 siblings, 1 reply; 2+ messages in thread
From: maximilian attems @ 2004-06-21 17:09 UTC (permalink / raw)
To: netdev
From: <WHarms@bfs.de>(Walter Harms)
moving the define a bit higher removes two useless warnings.
regards,
walter
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.7-max/net/econet/af_econet.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN net/econet/af_econet.c~fix-warning-af_econet net/econet/af_econet.c
--- linux-2.6.7/net/econet/af_econet.c~fix-warning-af_econet 2004-06-18 10:20:06.000000000 +0200
+++ linux-2.6.7-max/net/econet/af_econet.c 2004-06-18 10:20:06.000000000 +0200
@@ -255,9 +255,9 @@ static int econet_sendmsg(struct kiocb *
struct ec_addr addr;
int err;
unsigned char port, cb;
+#ifdef CONFIG_ECONET_NATIVE
struct sk_buff *skb;
struct ec_cb *eb;
-#ifdef CONFIG_ECONET_NATIVE
unsigned short proto = 0;
#endif
#ifdef CONFIG_ECONET_AUNUDP
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch-kj] net/econet/af_econet.c fix warning xyz never used
2004-06-21 17:09 [patch-kj] net/econet/af_econet.c fix warning xyz never used maximilian attems
@ 2004-06-21 17:51 ` YOSHIFUJI Hideaki / 吉藤英明
0 siblings, 0 replies; 2+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2004-06-21 17:51 UTC (permalink / raw)
To: janitor; +Cc: netdev
In article <20040621170904.GD1545@sputnik.stro.at> (at Mon, 21 Jun 2004 19:09:04 +0200), maximilian attems <janitor@sternwelten.at> says:
> From: <WHarms@bfs.de>(Walter Harms)
> moving the define a bit higher removes two useless warnings.
:
> Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
:
> unsigned char port, cb;
> +#ifdef CONFIG_ECONET_NATIVE
> struct sk_buff *skb;
> struct ec_cb *eb;
> -#ifdef CONFIG_ECONET_NATIVE
> unsigned short proto = 0;
Already fixed in current bk tree. Thanks.
--yoshfuji
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-21 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-21 17:09 [patch-kj] net/econet/af_econet.c fix warning xyz never used maximilian attems
2004-06-21 17:51 ` YOSHIFUJI Hideaki / 吉藤英明
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).