summaryrefslogtreecommitdiffstats
path: root/sys/coda/coda_venus.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-21 21:32:15 +0000
committerphk <phk@FreeBSD.org>2004-02-21 21:32:15 +0000
commit39fb4aef3d058a6d6726a689f365d2c8a3333178 (patch)
tree3b153134583d6d3d0d078ae9b3fb771be33195be /sys/coda/coda_venus.c
parentad925439e08646e188eb1c0e0be355f0685c8739 (diff)
downloadFreeBSD-src-39fb4aef3d058a6d6726a689f365d2c8a3333178.zip
FreeBSD-src-39fb4aef3d058a6d6726a689f365d2c8a3333178.tar.gz
Device megapatch 5/6:
Remove the unused second argument from udev2dev(). Convert all remaining users of makedev() to use udev2dev(). The semantic difference is that udev2dev() will only locate a pre-existing dev_t, it will not line makedev() create a new one. Apart from the tiny well controlled windown in D_PSEUDO drivers, there should no longer be any "anonymous" dev_t's in the system now, only dev_t's created with make_dev() and make_dev_alias()
Diffstat (limited to 'sys/coda/coda_venus.c')
-rw-r--r--sys/coda/coda_venus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/coda/coda_venus.c b/sys/coda/coda_venus.c
index 8067226..5105c0b 100644
--- a/sys/coda/coda_venus.c
+++ b/sys/coda/coda_venus.c
@@ -212,8 +212,7 @@ venus_open(void *mdp, CodaFid *fid, int flag,
error = coda_call(mdp, Isize, &Osize, (char *)inp);
if (!error) {
-/* 5/11 *dev = udev2dev(outp->dev, 2); */
- *dev = udev2dev(outp->dev, 0);
+ *dev = udev2dev(outp->dev);
*inode = outp->inode;
}
OpenPOWER on IntegriCloud