Module Name: src
Committed By: tnn
Date: Mon Oct 19 17:00:02 UTC 2020
Modified Files:
src/sys/arch/evbarm/dev: plcom.c
Log Message:
remove superfluous parentheses in PREAD4/PWRITE4 macros
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/evbarm/dev/plcom.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/dev/plcom.c
diff -u src/sys/arch/evbarm/dev/plcom.c:1.61 src/sys/arch/evbarm/dev/plcom.c:1.62
--- src/sys/arch/evbarm/dev/plcom.c:1.61 Sat Apr 25 21:34:08 2020
+++ src/sys/arch/evbarm/dev/plcom.c Mon Oct 19 17:00:02 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: plcom.c,v 1.61 2020/04/25 21:34:08 jmcneill Exp $ */
+/* $NetBSD: plcom.c,v 1.62 2020/10/19 17:00:02 tnn Exp $ */
/*-
* Copyright (c) 2001 ARM Ltd
@@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.61 2020/04/25 21:34:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.62 2020/10/19 17:00:02 tnn Exp $");
#include "opt_plcom.h"
#include "opt_ddb.h"
@@ -297,12 +297,12 @@ pwritem1(struct plcom_instance *pi, bus_
#define PREAD1(pi, reg) pread1(pi, reg)
#define PREAD4(pi, reg) \
- (bus_space_read_4((pi)->pi_iot, (pi)->pi_ioh, (reg)))
+ bus_space_read_4((pi)->pi_iot, (pi)->pi_ioh, (reg))
#define PWRITE1(pi, reg, val) pwrite1(pi, reg, val)
#define PWRITEM1(pi, reg, d, c) pwritem1(pi, reg, d, c)
#define PWRITE4(pi, reg, val) \
- (bus_space_write_4((pi)->pi_iot, (pi)->pi_ioh, (reg), (val)))
+ bus_space_write_4((pi)->pi_iot, (pi)->pi_ioh, (reg), (val))
int
pl010comspeed(long speed, long frequency)