From 2b4f7a9e8aff3b740995b6d2aff23de6cad7646d Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 10 Feb 2012 12:40:50 +0000 Subject: 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. --- sys/fs/devfs/devfs_devs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/fs/devfs/devfs_devs.c') 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; -- cgit v1.1