1
0
Fork 0

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>
hifive-unleashed-5.1
H Hartley Sweeten 2014-03-07 17:31:19 -07:00 committed by Greg Kroah-Hartman
parent 658ebb8ce2
commit b625520f36
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s,
retval = comedi_buf_write_alloc(async, 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;
return 0;
}