svn commit: r294510 - head/sys/arm/mv

Andrew Turner andrew at FreeBSD.org
Thu Jan 21 16:42:53 UTC 2016


Author: andrew
Date: Thu Jan 21 16:42:52 2016
New Revision: 294510
URL: https://svnweb.freebsd.org/changeset/base/294510

Log:
  Remove an extra '!' found by clang 3.8.

Modified:
  head/sys/arm/mv/mv_pci.c

Modified: head/sys/arm/mv/mv_pci.c
==============================================================================
--- head/sys/arm/mv/mv_pci.c	Thu Jan 21 16:38:58 2016	(r294509)
+++ head/sys/arm/mv/mv_pci.c	Thu Jan 21 16:42:52 2016	(r294510)
@@ -922,7 +922,7 @@ static inline void
 pcib_write_irq_mask(struct mv_pcib_softc *sc, uint32_t mask)
 {
 
-	if (!sc->sc_type != MV_TYPE_PCI)
+	if (sc->sc_type != MV_TYPE_PCI)
 		return;
 
 	bus_space_write_4(sc->sc_bst, sc->sc_bsh, PCIE_REG_IRQ_MASK, mask);


More information about the svn-src-head mailing list