[PATCH 1/2] netconsole: remove non-needed setbaudrate
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Sep 23 16:08:34 EDT 2010
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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
More information about the barebox
mailing list