diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-09 16:12:55 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-11 12:47:38 -0700 |
| commit | 9308902f301d628802e40b6c3fbefa11fc9dd9d9 (patch) | |
| tree | c2a43f1dcf6f4efc0d89fcda8d30d18b0c523f3b | |
| parent | 31427ad355b4f9da8100312f8aea1c33dcc5cef4 (diff) | |
staging: comedi: amplc_dio200: cleanup dev->board_name usage
This legacy driver does no additional probing so the dev->board_name
will already be properly initialized by the comedi core before calling
the (*attach) function.
Remove the unnecessary initialization of dev->board_name.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/comedi/drivers/amplc_dio200.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_dio200.c b/drivers/staging/comedi/drivers/amplc_dio200.c index 1a562e8e5842..1d1f2feaeb66 100644 --- a/drivers/staging/comedi/drivers/amplc_dio200.c +++ b/drivers/staging/comedi/drivers/amplc_dio200.c @@ -292,7 +292,6 @@ static int dio200_attach(struct comedi_device *dev, struct comedi_devconfig *it) unsigned int irq; int ret; - dev->board_name = thisboard->name; iobase = it->options[0]; irq = it->options[1]; dev_info(dev->class_dev, "%s: attach %s 0x%lX,%u\n", |
