Date: Tue, 8 May 2018 16:16:57 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333365 - head/stand/common Message-ID: <201805081616.w48GGvI0005433@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805081616.w48GGvI0005433>