staging: comedi: ni_atmio: remove printk noise in ni_isapnp_find_board()

The printk() messages in this function a just added noise. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2014-07-18 13:30:00 -07:00 committed by Greg Kroah-Hartman
parent 9d3e5ab5e8
commit ee68d168cb

View File

@ -253,20 +253,17 @@ static int ni_isapnp_find_board(struct pnp_dev **dev)
if (isapnp_dev == NULL || isapnp_dev->card == NULL) if (isapnp_dev == NULL || isapnp_dev->card == NULL)
continue; continue;
if (pnp_device_attach(isapnp_dev) < 0) { if (pnp_device_attach(isapnp_dev) < 0)
printk
("ni_atmio: %s found but already active, skipping.\n",
ni_boards[i].name);
continue; continue;
}
if (pnp_activate_dev(isapnp_dev) < 0) { if (pnp_activate_dev(isapnp_dev) < 0) {
pnp_device_detach(isapnp_dev); pnp_device_detach(isapnp_dev);
return -EAGAIN; return -EAGAIN;
} }
if (!pnp_port_valid(isapnp_dev, 0)
|| !pnp_irq_valid(isapnp_dev, 0)) { if (!pnp_port_valid(isapnp_dev, 0) ||
!pnp_irq_valid(isapnp_dev, 0)) {
pnp_device_detach(isapnp_dev); pnp_device_detach(isapnp_dev);
printk("ni_atmio: pnp invalid port or irq, aborting\n");
return -ENOMEM; return -ENOMEM;
} }
break; break;