summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-11-11 04:13:47 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-11-11 04:13:47 +0000
commit4d651f4e5faaa2c43aa528be6aef86ee40ae55d3 (patch)
treed5dc2d41c3e23ea802ff19604b8fae9ac70e717a /sys/kern
parentf403cfb19c981d48ff6173c5685cbad0b517f129 (diff)
downloadsrc-test2-4d651f4e5faaa2c43aa528be6aef86ee40ae55d3.tar.gz
src-test2-4d651f4e5faaa2c43aa528be6aef86ee40ae55d3.zip
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 1f170597e9a8..267a20716e28 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -1009,8 +1009,7 @@ make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev,
}
sprintf(devfspath, "%s/%s", physpath, pdev->si_name);
- if (old_alias != NULL
- && strcmp(old_alias->si_name, devfspath) == 0) {
+ if (old_alias != NULL && strcmp(old_alias->si_name, devfspath) == 0) {
/* Retain the existing alias. */
*cdev = old_alias;
old_alias = NULL;