Skip to content

Commit

Permalink
m68k/pci: Remove a superflous KERN_ERR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Geert Uytterhoeven committed Mar 15, 2015
1 parent 378690e commit 79bf442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/kernel/pcibios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 79bf442

Please sign in to comment.