summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-02-10 12:40:50 +0000
committered <ed@FreeBSD.org>2012-02-10 12:40:50 +0000
commit2b4f7a9e8aff3b740995b6d2aff23de6cad7646d (patch)
treee58bb6f43a8fb4f066acbf8988270a1d095d2357 /sys/fs
parent28b4a002d6c95bc9e26ea30871aa91c1cc4b3563 (diff)
downloadFreeBSD-src-2b4f7a9e8aff3b740995b6d2aff23de6cad7646d.zip
FreeBSD-src-2b4f7a9e8aff3b740995b6d2aff23de6cad7646d.tar.gz
Merge si_name and __si_namebuf.
The si_name pointer always points to the __si_namebuf member inside the same object. Remove it and rename __si_namebuf to si_name.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/devfs/devfs_devs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index a111527..71caa29 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -133,7 +133,6 @@ devfs_alloc(int flags)
cdev = &cdp->cdp_c;
- cdev->si_name = cdev->__si_namebuf;
LIST_INIT(&cdev->si_children);
vfs_timestamp(&ts);
cdev->si_atime = cdev->si_mtime = cdev->si_ctime = ts;
OpenPOWER on IntegriCloud