All of lore.kernel.org
 help / color / mirror / Atom feed
From: maximilian attems <janitor@sternwelten.at>
To: netdev@oss.sgi.com
Subject: [patch-kj] net/econet/af_econet.c fix warning xyz never used
Date: Mon, 21 Jun 2004 19:09:04 +0200	[thread overview]
Message-ID: <20040621170904.GD1545@sputnik.stro.at> (raw)


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

             reply	other threads:[~2004-06-21 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 17:09 maximilian attems [this message]
2004-06-21 17:51 ` [patch-kj] net/econet/af_econet.c fix warning xyz never used YOSHIFUJI Hideaki / 吉藤英明

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040621170904.GD1545@sputnik.stro.at \
    --to=janitor@sternwelten.at \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.