Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2019 08:39:21 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r354882 - stable/12/sys/dev/ow
Message-ID:  <201911200839.xAK8dLxC096852@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed Nov 20 08:39:21 2019
New Revision: 354882
URL: https://svnweb.freebsd.org/changeset/base/354882

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

Modified:
  stable/12/sys/dev/ow/ow.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/ow/ow.c
==============================================================================
--- stable/12/sys/dev/ow/ow.c	Wed Nov 20 08:37:22 2019	(r354881)
+++ stable/12/sys/dev/ow/ow.c	Wed Nov 20 08:39:21 2019	(r354882)
@@ -159,7 +159,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?201911200839.xAK8dLxC096852>