]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: comedi_fc: remove unnecessary prefix in dev_warn() message
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Sat, 8 Mar 2014 00:31:19 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 20:55:52 +0000 (13:55 -0700)
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>
drivers/staging/comedi/drivers/comedi_fc.c

index 9bf2d4b95805726fc257e25c1a54dd3195119c84..157b61caa724cadc79cc559fd2b0728da348715d 100644 (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;
        }