Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 21:41:40 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r259337 - stable/10/sys/arm/arm
Message-ID:  <201312132141.rBDLfeIa035931@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Dec 13 21:41:40 2013
New Revision: 259337
URL: http://svnweb.freebsd.org/changeset/base/259337

Log:
  MFC r257203: Eliminate a compiler warning about extraneous parens.

Modified:
  stable/10/sys/arm/arm/busdma_machdep.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/arm/arm/busdma_machdep.c
==============================================================================
--- stable/10/sys/arm/arm/busdma_machdep.c	Fri Dec 13 21:41:23 2013	(r259336)
+++ stable/10/sys/arm/arm/busdma_machdep.c	Fri Dec 13 21:41:40 2013	(r259337)
@@ -807,7 +807,7 @@ _bus_dmamap_count_phys(bus_dma_tag_t dma
 	bus_addr_t curaddr;
 	bus_size_t sgsize;
 
-	if ((map->pagesneeded == 0)) {
+	if (map->pagesneeded == 0) {
 		CTR3(KTR_BUSDMA, "lowaddr= %d, boundary= %d, alignment= %d",
 		    dmat->lowaddr, dmat->boundary, dmat->alignment);
 		CTR2(KTR_BUSDMA, "map= %p, pagesneeded= %d",
@@ -838,7 +838,7 @@ _bus_dmamap_count_pages(bus_dma_tag_t dm
 	vm_offset_t vendaddr;
 	bus_addr_t paddr;
 
-	if ((map->pagesneeded == 0)) {
+	if (map->pagesneeded == 0) {
 		CTR3(KTR_BUSDMA, "lowaddr= %d, boundary= %d, alignment= %d",
 		    dmat->lowaddr, dmat->boundary, dmat->alignment);
 		CTR2(KTR_BUSDMA, "map= %p, pagesneeded= %d",



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