Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/playstation2/ee ret is only used in debug cases, ma...
details: https://anonhg.NetBSD.org/src/rev/e41a4d585194
branches: trunk
changeset: 346555:e41a4d585194
user: maya <maya%NetBSD.org@localhost>
date: Mon Jul 18 22:24:15 2016 +0000
description:
ret is only used in debug cases, mark as __unused.
diffstat:
sys/arch/playstation2/ee/sif.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 569330823200 -r e41a4d585194 sys/arch/playstation2/ee/sif.c
--- a/sys/arch/playstation2/ee/sif.c Mon Jul 18 22:17:09 2016 +0000
+++ b/sys/arch/playstation2/ee/sif.c Mon Jul 18 22:24:15 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sif.c,v 1.10 2014/03/31 11:25:49 martin Exp $ */
+/* $NetBSD: sif.c,v 1.11 2016/07/18 22:24:15 maya Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sif.c,v 1.10 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sif.c,v 1.11 2016/07/18 22:24:15 maya Exp $");
#include "debug_playstation2.h"
@@ -131,7 +131,7 @@
void
iopdma_free_buffer(struct iopdma_segment *seg)
{
- int ret;
+ int ret __unused;
ret = iopmem_free(seg->iop_paddr);
#ifdef SIF_DEBUG
Home |
Main Index |
Thread Index |
Old Index