Author: imp Date: Tue May 8 16:16:56 2018 New Revision: 333365 URL: https://svnweb.freebsd.org/changeset/base/333365
Log: 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. Modified: head/stand/common/dev_net.c Modified: head/stand/common/dev_net.c ============================================================================== --- head/stand/common/dev_net.c Tue May 8 15:51:40 2018 (r333364) +++ head/stand/common/dev_net.c Tue May 8 16:16:56 2018 (r333365) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"