Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Remove an assigned-to but unused variable.



details:   https://anonhg.NetBSD.org/src/rev/828afae0a943
branches:  trunk
changeset: 545514:828afae0a943
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 10 03:36:02 2003 +0000

description:
Remove an assigned-to but unused variable.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 50fd9990cf2f -r 828afae0a943 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Thu Apr 10 02:22:06 2003 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Thu Apr 10 03:36:02 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.156 2003/03/21 23:11:23 dsl Exp $ */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.157 2003/04/10 03:36:02 simonb Exp $      */
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -111,7 +111,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.156 2003/03/21 23:11:23 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.157 2003/04/10 03:36:02 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -2637,14 +2637,13 @@
 rf_ReconstructInPlaceThread(req)
        struct rf_recon_req *req;
 {
-       int retcode;
        int s;
        RF_Raid_t *raidPtr;
        
        s = splbio();
        raidPtr = req->raidPtr;
        raidPtr->recon_in_progress = 1;
-       retcode = rf_ReconstructInPlace(raidPtr, req->row, req->col);
+       rf_ReconstructInPlace(raidPtr, req->row, req->col);
        RF_Free(req, sizeof(*req));
        raidPtr->recon_in_progress = 0;
        splx(s);



Home | Main Index | Thread Index | Old Index