Module Name: src Committed By: maya Date: Mon Jul 18 22:24:15 UTC 2016
Modified Files: src/sys/arch/playstation2/ee: sif.c Log Message: ret is only used in debug cases, mark as __unused. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/playstation2/ee/sif.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/playstation2/ee/sif.c diff -u src/sys/arch/playstation2/ee/sif.c:1.10 src/sys/arch/playstation2/ee/sif.c:1.11 --- src/sys/arch/playstation2/ee/sif.c:1.10 Mon Mar 31 11:25:49 2014 +++ src/sys/arch/playstation2/ee/sif.c Mon Jul 18 22:24:15 2016 @@ -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 @@ iopdma_allocate_buffer(struct iopdma_seg void iopdma_free_buffer(struct iopdma_segment *seg) { - int ret; + int ret __unused; ret = iopmem_free(seg->iop_paddr); #ifdef SIF_DEBUG