diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-02-05 17:22:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-05 18:07:10 -0800 |
commit | 1cc8f8854c86b77637b1300b22e553028c6f2668 (patch) | |
tree | 5d926d17c472e927c7193da1498acbca40ae28d9 /drivers | |
parent | 78f8fa7f00689f4385c28b1b2be30c83f331c497 (diff) | |
download | linux-1cc8f8854c86b77637b1300b22e553028c6f2668.tar.bz2 |
staging: comedi: vmk80xx: remove private data 'count'
The 'count' in the private data is only used in a couple dev_info()
kernel messages. These messages are just added noise.
Remove the 'count' variable in the private data as well as the
dev_info() messages.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/vmk80xx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/comedi/drivers/vmk80xx.c b/drivers/staging/comedi/drivers/vmk80xx.c index f52d34d1bddf..ec9ff0d2a4c0 100644 --- a/drivers/staging/comedi/drivers/vmk80xx.c +++ b/drivers/staging/comedi/drivers/vmk80xx.c @@ -212,7 +212,6 @@ struct vmk80xx_private { unsigned long flags; int probed; int attached; - int count; }; static struct vmk80xx_private vmb[VMK80XX_MAX_BOARDS]; @@ -1285,8 +1284,6 @@ static int vmk80xx_attach_common(struct comedi_device *dev, } devpriv->attached = 1; - dev_info(dev->class_dev, "vmk80xx: board #%d [%s] attached\n", - devpriv->count, boardinfo->name); up(&devpriv->limit_sem); @@ -1369,7 +1366,6 @@ static int vmk80xx_usb_probe(struct usb_interface *intf, devpriv = &vmb[i]; memset(devpriv, 0x00, sizeof(*devpriv)); - devpriv->count = i; ret = vmk80xx_find_usb_endpoints(devpriv, intf); if (ret) { @@ -1415,9 +1411,6 @@ static int vmk80xx_usb_probe(struct usb_interface *intf, devpriv->probed = 1; - dev_info(&intf->dev, "board #%d [%s] now attached\n", - devpriv->count, boardinfo->name); - mutex_unlock(&glb_mutex); comedi_usb_auto_config(intf, &vmk80xx_driver); |