Remove no longer necessary debug printfs
This commit is contained in:
parent
2172a5cbc5
commit
8cae62eee9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124864
@ -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 != NULL, ("disk_create need d_name"));
|
||||||
KASSERT(*dp->d_name != 0, ("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"));
|
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)
|
if (dp->d_devstat == NULL)
|
||||||
dp->d_devstat = devstat_new_entry(dp->d_name, dp->d_unit,
|
dp->d_devstat = devstat_new_entry(dp->d_name, dp->d_unit,
|
||||||
dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED,
|
dp->d_sectorsize, DEVSTAT_ALL_SUPPORTED,
|
||||||
@ -384,9 +381,6 @@ disk_destroy(struct disk *dp)
|
|||||||
{
|
{
|
||||||
struct g_geom *gp;
|
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);
|
g_cancel_event(dp);
|
||||||
gp = dp->d_geom;
|
gp = dp->d_geom;
|
||||||
if (gp == NULL)
|
if (gp == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user