summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_disk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-01-23 10:56:16 +0000
committerphk <phk@FreeBSD.org>2004-01-23 10:56:16 +0000
commite65ee01a8fe2e2695cf589b8c0dc9914ffc8f299 (patch)
tree2e50601e74ee56b0be53b97ff43074fba41cfaeb /sys/geom/geom_disk.c
parentb674a5cfadf24c40acfba28320c747d1148ab286 (diff)
downloadFreeBSD-src-e65ee01a8fe2e2695cf589b8c0dc9914ffc8f299.zip
FreeBSD-src-e65ee01a8fe2e2695cf589b8c0dc9914ffc8f299.tar.gz
Remove no longer necessary debug printfs
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r--sys/geom/geom_disk.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index 9d40cfc..06ee392 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -368,9 +368,6 @@ disk_create(int unit, struct disk *dp, int flags, void *unused __unused, void *
KASSERT(dp->d_name != NULL, ("disk_create need d_name"));
KASSERT(*dp->d_name != 0, ("disk_create need d_name"));
KASSERT(strlen(dp->d_name) < SPECNAMELEN - 4, ("disk name too long"));
- if (bootverbose || 1)
- printf("GEOM: create disk %s%d dp=%p\n",
- dp->d_name, dp->d_unit, dp);
if (dp->d_devstat == NULL)
dp->d_devstat = devstat_new_entry(dp->d_name, dp->d_unit,
dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED,
@@ -384,9 +381,6 @@ disk_destroy(struct disk *dp)
{
struct g_geom *gp;
- if (bootverbose || 1)
- printf("GEOM: destroy disk %s%d dp=%p\n",
- dp->d_name, dp->d_unit, dp);
g_cancel_event(dp);
gp = dp->d_geom;
if (gp == NULL)
OpenPOWER on IntegriCloud