summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-14 20:37:07 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 23:24:26 (GMT)
commit3056b105166ca2167a28b7733348b41a96ed58be (patch)
treeec15abc3029c1539a0c969dab37348226e4e0f95
parent5659e24a5a9b3ed611f67ddfc98f2a36d9560a18 (diff)
downloadlinux-fsl-qoriq-3056b105166ca2167a28b7733348b41a96ed58be.tar.xz
staging: comedi: usbduxfast: remove extra dev_err() messages
A dev_err() message is output if send_dux_commands() fails. Remove the extra dev_err() messages output by the callers. 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>
-rw-r--r--drivers/staging/comedi/drivers/usbduxfast.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c
index 6178a5d..102b24d 100644
--- a/drivers/staging/comedi/drivers/usbduxfast.c
+++ b/drivers/staging/comedi/drivers/usbduxfast.c
@@ -997,8 +997,6 @@ static int usbduxfast_ai_cmd(struct comedi_device *dev,
/* 0 means that the AD commands are sent */
result = send_dux_commands(dev, SENDADCOMMANDS);
if (result < 0) {
- dev_err(dev->class_dev,
- "adc command could not be submitted, aborting\n");
up(&devpriv->sem);
return result;
}
@@ -1119,8 +1117,6 @@ static int usbduxfast_ai_insn_read(struct comedi_device *dev,
/* 0 means that the AD commands are sent */
err = send_dux_commands(dev, SENDADCOMMANDS);
if (err < 0) {
- dev_err(dev->class_dev,
- "adc command could not be submitted, aborting\n");
up(&devpriv->sem);
return err;
}