m68k/pci: Remove a superflous KERN_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 Mar 2015 11:27:00 +0000 (14:27 +0300)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 15 Mar 2015 09:24:50 +0000 (10:24 +0100)
pr_err() has a KERN_ERR built in.  Smatch complains about these nowadays.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/pcibios.c

index 931a31f..8520250 100644 (file)
@@ -62,7 +62,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
 
                r = dev->resource + idx;
                if (!r->start && r->end) {
-                       pr_err(KERN_ERR "PCI: Device %s not available because of resource collisions\n",
+                       pr_err("PCI: Device %s not available because of resource collisions\n",
                                pci_name(dev));
                        return -EINVAL;
                }