Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 17:18:27 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
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
Message-ID:  <201708191718.v7JHIRLI030275@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708191718.v7JHIRLI030275>