Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2019 20:08:10 +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: r354205 - head/sys/dev/ow
Message-ID:  <201910302008.x9UK8AKf060757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Oct 30 20:08:10 2019
New Revision: 354205
URL: https://svnweb.freebsd.org/changeset/base/354205

Log:
  Remove redundant hw sysctl declaration. gcc CI complains, but clang doesn't.

Modified:
  head/sys/dev/ow/ow.c

Modified: head/sys/dev/ow/ow.c
==============================================================================
--- head/sys/dev/ow/ow.c	Wed Oct 30 19:53:46 2019	(r354204)
+++ head/sys/dev/ow/ow.c	Wed Oct 30 20:08:10 2019	(r354205)
@@ -161,7 +161,6 @@ static struct ow_timing timing_overdrive = {
 	.t_lowr = 1,		/* 1 <= t < 2 */
 };
 
-SYSCTL_DECL(_hw);
 SYSCTL_NODE(_hw, OID_AUTO, ow, CTLFLAG_RD, 0, "1-Wire protocol");
 SYSCTL_NODE(_hw_ow, OID_AUTO, regular, CTLFLAG_RD, 0,
     "Regular mode timings");



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