Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/dev remove superfluous parentheses in PREAD4...
details: https://anonhg.NetBSD.org/src/rev/5485aa39813c
branches: trunk
changeset: 956041:5485aa39813c
user: tnn <tnn%NetBSD.org@localhost>
date: Mon Oct 19 17:00:02 2020 +0000
description:
remove superfluous parentheses in PREAD4/PWRITE4 macros
diffstat:
sys/arch/evbarm/dev/plcom.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r af8cc30e1c48 -r 5485aa39813c sys/arch/evbarm/dev/plcom.c
--- a/sys/arch/evbarm/dev/plcom.c Mon Oct 19 15:25:57 2020 +0000
+++ b/sys/arch/evbarm/dev/plcom.c Mon Oct 19 17:00:02 2020 +0000
@@ -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 @@
#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)
Home |
Main Index |
Thread Index |
Old Index