From owner-svn-src-head@freebsd.org Sat Aug 19 17:18:28 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD581DD613D; Sat, 19 Aug 2017 17:18:28 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C6DC82584; Sat, 19 Aug 2017 17:18:28 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7JHIRdc030277; Sat, 19 Aug 2017 17:18:27 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7JHIRLI030275; Sat, 19 Aug 2017 17:18:27 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201708191718.v7JHIRLI030275@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Sat, 19 Aug 2017 17:18:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322697 - in head/sys/dev: extres/hwreset pci X-SVN-Group: head X-SVN-Commit-Author: andrew X-SVN-Commit-Paths: in head/sys/dev: extres/hwreset pci X-SVN-Commit-Revision: 322697 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2017 17:18:28 -0000 Author: andrew Date: Sat Aug 19 17:18:27 2017 New Revision: 322697 URL: https://svnweb.freebsd.org/changeset/base/322697 Log: Remove redundant declarations. Newer gcc has a warning for these so will fail when building with -Werror. Sponsored by: DARPA, AFRL Modified: head/sys/dev/extres/hwreset/hwreset.h head/sys/dev/pci/pci_host_generic.h Modified: head/sys/dev/extres/hwreset/hwreset.h ============================================================================== --- head/sys/dev/extres/hwreset/hwreset.h Sat Aug 19 17:15:40 2017 (r322696) +++ head/sys/dev/extres/hwreset/hwreset.h Sat Aug 19 17:18:27 2017 (r322697) @@ -40,8 +40,6 @@ typedef struct hwreset *hwreset_t; * Provider interface */ #ifdef FDT -int hwreset_default_ofw_map(device_t provider_dev, phandle_t xref, int ncells, - pcell_t *cells, intptr_t *id); void hwreset_register_ofw_provider(device_t provider_dev); void hwreset_unregister_ofw_provider(device_t provider_dev); #endif Modified: head/sys/dev/pci/pci_host_generic.h ============================================================================== --- head/sys/dev/pci/pci_host_generic.h Sat Aug 19 17:15:40 2017 (r322696) +++ head/sys/dev/pci/pci_host_generic.h Sat Aug 19 17:18:27 2017 (r322697) @@ -66,8 +66,6 @@ struct generic_pcie_core_softc { DECLARE_CLASS(generic_pcie_core_driver); -struct resource *pci_host_generic_core_alloc_resource(device_t, - device_t, int, int *, rman_res_t, rman_res_t, rman_res_t, u_int); int pci_host_generic_core_attach(device_t); struct resource *pci_host_generic_core_alloc_resource(device_t, device_t, int, int *, rman_res_t, rman_res_t, rman_res_t, u_int);