staging: comedi: vmk80xx: remove "firmware version" kernel messages
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 23 Feb 2015 22:13:49 +0000 (15:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Feb 2015 15:21:24 +0000 (07:21 -0800)
commit981c1fe9ae20e5fb7c1ee7038efa03933e637925
treeb200eaef85165841927a867e49f2824f9810bd75
parent7e4f1e777814c6916b513b5dc90e030ee4e25f04
staging: comedi: vmk80xx: remove "firmware version" kernel messages

During the attach of this driver a couple commands are sent to the hardware
with usb_bulk_msg() to read the firmware version information. This information
is then dumped as dev_info() kernel messages. Thee messages are just added
noise and don't effect the operation of the driver.

For simplicity, remove the messages as well as the then unused functions
vmk80xx_read_eeprom() and vmk80xx_check_data_link().

This also fixes an issue reported by coverity about an out-of-bounds write
in vmk80xx_read_eeprom().

Reported-by: coverity (CID 711413)
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c