Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2017 12:00:08 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318741 - head/sys/mips/mips
Message-ID:  <201705231200.v4NC0833088694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue May 23 12:00:08 2017
New Revision: 318741
URL: https://svnweb.freebsd.org/changeset/base/318741

Log:
  Remove superfluous parentheses.
  
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/mips/mips/busdma_machdep.c

Modified: head/sys/mips/mips/busdma_machdep.c
==============================================================================
--- head/sys/mips/mips/busdma_machdep.c	Tue May 23 11:08:36 2017	(r318740)
+++ head/sys/mips/mips/busdma_machdep.c	Tue May 23 12:00:08 2017	(r318741)
@@ -759,7 +759,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",
@@ -790,7 +790,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?201705231200.v4NC0833088694>