Commit 79bf442c authored by Dan Carpenter's avatar Dan Carpenter Committed by Geert Uytterhoeven

m68k/pci: Remove a superflous KERN_ERR

pr_err() has a KERN_ERR built in.  Smatch complains about these nowadays.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 378690e3
...@@ -62,7 +62,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) ...@@ -62,7 +62,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
r = dev->resource + idx; r = dev->resource + idx;
if (!r->start && r->end) { 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)); pci_name(dev));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment