提交 83999652 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: serial2002: remove attach dev_dbg() noise

This is just added noise. Remove it.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 adbd1741
...@@ -744,7 +744,6 @@ static int serial2002_attach(struct comedi_device *dev, ...@@ -744,7 +744,6 @@ static int serial2002_attach(struct comedi_device *dev,
struct comedi_subdevice *s; struct comedi_subdevice *s;
int ret; int ret;
dev_dbg(dev->class_dev, "serial2002: attach\n");
dev->board_name = dev->driver->driver_name; dev->board_name = dev->driver->driver_name;
devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL); devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL);
...@@ -756,8 +755,6 @@ static int serial2002_attach(struct comedi_device *dev, ...@@ -756,8 +755,6 @@ static int serial2002_attach(struct comedi_device *dev,
dev->close = serial_2002_close; dev->close = serial_2002_close;
devpriv->port = it->options[0]; devpriv->port = it->options[0];
devpriv->speed = it->options[1]; devpriv->speed = it->options[1];
dev_dbg(dev->class_dev, "/dev/ttyS%d @ %d\n", devpriv->port,
devpriv->speed);
ret = comedi_alloc_subdevices(dev, 5); ret = comedi_alloc_subdevices(dev, 5);
if (ret) if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册