svn commit: r278762 - head/sys/contrib/dev/ath/ath_hal/ar9300

Adrian Chadd adrian at FreeBSD.org
Sat Feb 14 17:43:55 UTC 2015


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;
     }


More information about the svn-src-all mailing list