From owner-svn-src-projects@FreeBSD.ORG Tue Apr 24 08:27:59 2012 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 557B3106566B; Tue, 24 Apr 2012 08:27:59 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 408F68FC0A; Tue, 24 Apr 2012 08:27:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q3O8Rx5c037815; Tue, 24 Apr 2012 08:27:59 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q3O8RxKs037813; Tue, 24 Apr 2012 08:27:59 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201204240827.q3O8RxKs037813@svn.freebsd.org> From: Gleb Smirnoff Date: Tue, 24 Apr 2012 08:27:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r234640 - projects/pf/head/sys/contrib/pf/net X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 08:27:59 -0000 Author: glebius Date: Tue Apr 24 08:27:58 2012 New Revision: 234640 URL: http://svn.freebsd.org/changeset/base/234640 Log: Finish r234307: remove useless pflog_softc and list of them. Modified: projects/pf/head/sys/contrib/pf/net/if_pflog.c Modified: projects/pf/head/sys/contrib/pf/net/if_pflog.c ============================================================================== --- projects/pf/head/sys/contrib/pf/net/if_pflog.c Tue Apr 24 07:28:53 2012 (r234639) +++ projects/pf/head/sys/contrib/pf/net/if_pflog.c Tue Apr 24 08:27:58 2012 (r234640) @@ -119,7 +119,6 @@ static int pflog_clone_create(struct if_clone *ifc, int unit, caddr_t param) { struct ifnet *ifp; - struct pflog_softc *pflogif; if (unit >= PFLOGIFS_MAX) return (EINVAL); @@ -129,7 +128,6 @@ pflog_clone_create(struct if_clone *ifc, return (ENOSPC); } if_initname(ifp, ifc->ifc_name, unit); - ifp->if_softc = pflogif; ifp->if_mtu = PFLOGMTU; ifp->if_ioctl = pflogioctl; ifp->if_output = pflogoutput; @@ -146,12 +144,10 @@ pflog_clone_create(struct if_clone *ifc, static void pflog_clone_destroy(struct ifnet *ifp) { - struct pflog_softc *pflogif = ifp->if_softc; bpfdetach(ifp); if_detach(ifp); if_free(ifp); - free(pflogif, M_DEVBUF); } /*