1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

We don't use f_devdata, so don't set it. Should that need to change

later, we can. This leaves ZFS as the only irregular f_devdata
user in the tree.
This commit is contained in:
Warner Losh 2018-05-08 16:16:56 +00:00
parent 151c44e22b
commit a1947307e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333365

View File

@ -190,7 +190,6 @@ net_open(struct open_file *f, ...)
}
netdev_opens++;
f->f_devdata = &netdev_sock;
return (error);
}
@ -202,9 +201,6 @@ net_close(struct open_file *f)
if (debug)
printf("net_close: opens=%d\n", netdev_opens);
#endif
f->f_devdata = NULL;
return (0);
}