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 Sprinkle __unused.
details: https://anonhg.NetBSD.org/src/rev/aa4468d44c16
branches: trunk
changeset: 325227:aa4468d44c16
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 14 09:52:33 2013 +0000
description:
Sprinkle __unused.
diffstat:
sys/arch/evbarm/dev/plcom.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r cdc0d6a49b11 -r aa4468d44c16 sys/arch/evbarm/dev/plcom.c
--- a/sys/arch/evbarm/dev/plcom.c Sat Dec 14 06:27:57 2013 +0000
+++ b/sys/arch/evbarm/dev/plcom.c Sat Dec 14 09:52:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plcom.c,v 1.46 2013/09/05 07:09:14 skrll Exp $ */
+/* $NetBSD: plcom.c,v 1.47 2013/12/14 09:52:33 skrll Exp $ */
/*-
* Copyright (c) 2001 ARM Ltd
@@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.46 2013/09/05 07:09:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plcom.c,v 1.47 2013/12/14 09:52:33 skrll Exp $");
#include "opt_plcom.h"
#include "opt_ddb.h"
@@ -2288,7 +2288,7 @@
c = PREAD1(pi, PL01XCOM_DR);
{
- int cn_trapped = 0; /* unused */
+ int cn_trapped __unused = 0;
#ifdef DDB
extern int db_active;
if (!db_active)
@@ -2308,7 +2308,7 @@
int cin, stat;
if (plcom_readaheadcount < MAX_READAHEAD
&& !ISSET(stat = PREAD1(pi, PL01XCOM_FR), PL01X_FR_RXFE)) {
- int cn_trapped = 0;
+ int cn_trapped __unused = 0;
cin = PREAD1(pi, PL01XCOM_DR);
cn_check_magic(dev, cin, plcom_cnm_state);
plcom_readahead[plcom_readaheadcount++] = cin;
Home |
Main Index |
Thread Index |
Old Index