Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2015 17:43:55 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278762 - head/sys/contrib/dev/ath/ath_hal/ar9300
Message-ID:  <201502141743.t1EHhtOL079094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Feb 14 17:43:54 2015
New Revision: 278762
URL: https://svnweb.freebsd.org/changeset/base/278762

Log:
  Quieten a clang warning.

Modified:
  head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c

Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c	Sat Feb 14 17:12:31 2015	(r278761)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_gpio.c	Sat Feb 14 17:43:54 2015	(r278762)
@@ -394,7 +394,7 @@ ar9300_gpio_get(struct ath_hal *ah, u_in
 {
     u_int32_t gpio_in;
     HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.halNumGpioPins);
-    if ((gpio == AR9382_GPIO_PIN_8_RESERVED))
+    if (gpio == AR9382_GPIO_PIN_8_RESERVED)
     {
         return 0xffffffff;
     }



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