summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-10-23 07:44:02 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-10-23 07:44:02 +0000
commit2cfc1a8023db751a00876b6e472d23d9c1e23415 (patch)
treead9a884f9fccafa20b96a4207a3356a3eb12bf10
parentc61a8df7c510c46a0b939e4057b44e15939e6756 (diff)
Don't print redundant information in dmesg.
Prompted by deraadt, kettenis@.
-rw-r--r--sys/dev/pci/drm/drm_drv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 1d5873174ee..928f0a38d0c 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -209,7 +209,6 @@ drm_attach(struct device *parent, struct device *kdev,
id_entry = drm_find_description(PCI_VENDOR(pa->pa_id),
PCI_PRODUCT(pa->pa_id), idlist);
dev->id_entry = id_entry;
- printf(" %s(%d)", id_entry->name, dev->unit);
TAILQ_INIT(&dev->maplist);
@@ -253,9 +252,7 @@ drm_attach(struct device *parent, struct device *kdev,
printf(": couldn't allocate memory for context bitmap.\n");
goto error;
}
- printf(", %d.%d.%d %s\n", dev->driver->major, dev->driver->minor,
- dev->driver->patchlevel, dev->driver->date);
-
+ printf("\n");
return;
error: