staging: comedi: comedi_fc: remove unnecessary prefix in dev_warn() message
The dev_warn() will automatically have the "comedi" prefix. 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>
This commit is contained in:
parent
658ebb8ce2
commit
b625520f36
@ -47,7 +47,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s,
|
|||||||
|
|
||||||
retval = comedi_buf_write_alloc(async, num_bytes);
|
retval = comedi_buf_write_alloc(async, num_bytes);
|
||||||
if (retval != num_bytes) {
|
if (retval != num_bytes) {
|
||||||
dev_warn(s->device->class_dev, "comedi: buffer overrun\n");
|
dev_warn(s->device->class_dev, "buffer overrun\n");
|
||||||
async->events |= COMEDI_CB_OVERFLOW;
|
async->events |= COMEDI_CB_OVERFLOW;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user