From: Adrian Bunk <bunk@stusta.de>
To: linux-computone@lazuli.wittsend.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] ip2main.c: remove stale function declaration
Date: Sat, 30 Oct 2004 07:52:09 +0200 [thread overview]
Message-ID: <20041030055208.GE4374@stusta.de> (raw)
I'm getting the following compile warning in recent 2.6 kernels:
<-- snip -->
...
CC drivers/char/ip2main.o
...
drivers/char/ip2main.c:205: warning: 'set_modem_info' declared `static' but never defined
...
<-- snip -->
gcc is right, and the patch below removes this finction declaration.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm2-full/drivers/char/ip2main.c.old 2004-10-30 04:27:14.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/drivers/char/ip2main.c 2004-10-30 04:27:20.000000000 +0200
@@ -202,7 +202,6 @@
static void ip2_wait_until_sent(PTTY,int);
static void set_params (i2ChanStrPtr, struct termios *);
-static int set_modem_info(i2ChanStrPtr, unsigned int, unsigned int *);
static int get_serial_info(i2ChanStrPtr, struct serial_struct __user *);
static int set_serial_info(i2ChanStrPtr, struct serial_struct __user *);
reply other threads:[~2004-10-30 5:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041030055208.GE4374@stusta.de \
--to=bunk@stusta.de \
--cc=linux-computone@lazuli.wittsend.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox