svn commit: r295814 - projects/mips64-clang/sys/mips/mips
Sean Bruno
sbruno at FreeBSD.org
Fri Feb 19 16:43:10 UTC 2016
Author: sbruno
Date: Fri Feb 19 16:43:08 2016
New Revision: 295814
URL: https://svnweb.freebsd.org/changeset/base/295814
Log:
Remove uneeded parens, noted by clang.
Modified:
projects/mips64-clang/sys/mips/mips/busdma_machdep.c
Modified: projects/mips64-clang/sys/mips/mips/busdma_machdep.c
==============================================================================
--- projects/mips64-clang/sys/mips/mips/busdma_machdep.c Fri Feb 19 16:43:03 2016 (r295813)
+++ projects/mips64-clang/sys/mips/mips/busdma_machdep.c Fri Feb 19 16:43:08 2016 (r295814)
@@ -745,7 +745,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",
@@ -776,7 +776,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",
More information about the svn-src-projects
mailing list