From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] netconsole: remove non-needed setbaudrate
Date: Thu, 23 Sep 2010 22:08:34 +0200 [thread overview]
Message-ID: <1285272515-26680-1-git-send-email-plagnioj@jcrosoft.com> (raw)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
net/netconsole.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/net/netconsole.c b/net/netconsole.c
index 07e6a6c..fda524e 100644
--- a/net/netconsole.c
+++ b/net/netconsole.c
@@ -124,11 +124,6 @@ static void nc_putc(struct console_device *cdev, char c)
priv->busy = 0;
}
-static int nc_setbaudrate(struct console_device *cdev, int baudrate)
-{
- return 0;
-}
-
static int nc_port_set(struct device_d *dev, struct param_d *param,
const char *val)
{
@@ -185,7 +180,6 @@ static int netconsole_init(void)
cdev->tstc = nc_tstc;
cdev->putc = nc_putc;
cdev->getc = nc_getc;
- cdev->setbrg = nc_setbaudrate;
g_priv = priv;
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2010-09-23 20:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 20:08 Jean-Christophe PLAGNIOL-VILLARD [this message]
2010-09-23 20:08 ` [PATCH 2/2] console: set device_d id at -1 Jean-Christophe PLAGNIOL-VILLARD
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=1285272515-26680-1-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.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