summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-09-23 22:08:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-24 08:46:41 +0200
commit0231b5b3a7f423f0ef2c064cf019ab7ef2485eda (patch)
tree812f36ba275642260726c31bc11f3c07c132d1e7
parentd424ce77f5e9295584252452dbd78eea562c9af0 (diff)
downloadbarebox-0231b5b3a7f423f0ef2c064cf019ab7ef2485eda.tar.gz
barebox-0231b5b3a7f423f0ef2c064cf019ab7ef2485eda.tar.xz
netconsole: remove non-needed setbaudrate
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--net/netconsole.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/netconsole.c b/net/netconsole.c
index 07e6a6cf27..fda524e174 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;