Skip to content

Commit

Permalink
hammer2 - cleanup
Browse files Browse the repository at this point in the history
* Cleanup some printfs.
  • Loading branch information
Matthew Dillon committed Aug 27, 2015
1 parent 15def17 commit 8761dde
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sys/vfs/hammer2/hammer2_vfsops.c
Expand Up @@ -777,7 +777,6 @@ hammer2_vfs_mount(struct mount *mp, char *path, caddr_t data,
return (error);
}

kprintf("X1\n");
/* Extract device and label */
dev = devstr;
label = strchr(devstr, '@');
Expand All @@ -787,10 +786,8 @@ hammer2_vfs_mount(struct mount *mp, char *path, caddr_t data,
}
*label = '\0';
label++;
kprintf("X2\n");
if (*label == '\0')
return (EINVAL);
kprintf("X3\n");

if (mp->mnt_flag & MNT_UPDATE) {
/*
Expand Down

0 comments on commit 8761dde

Please sign in to comment.