Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 18:01:16 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r240029 - stable/7/sys/dev/aic7xxx
Message-ID:  <201209021801.q82I1Gwo045416@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Sep  2 18:01:16 2012
New Revision: 240029
URL: http://svn.freebsd.org/changeset/base/240029

Log:
  MFC r239047:
  	Remove variables which are initialized but never used thereafter
  	reported by gcc46 warning
  
  Approved by:	cperciva (implicit)

Modified:
  stable/7/sys/dev/aic7xxx/aic_osm_lib.c
Directory Properties:
  stable/7/sys/   (props changed)

Modified: stable/7/sys/dev/aic7xxx/aic_osm_lib.c
==============================================================================
--- stable/7/sys/dev/aic7xxx/aic_osm_lib.c	Sun Sep  2 18:00:57 2012	(r240028)
+++ stable/7/sys/dev/aic7xxx/aic_osm_lib.c	Sun Sep  2 18:01:16 2012	(r240029)
@@ -54,9 +54,6 @@ aic_set_recoveryscb(struct aic_softc *ai
 		 * them after we've successfully fixed this problem.
 		 */
 		LIST_FOREACH(list_scb, &aic->pending_scbs, pending_links) {
-			union ccb *ccb;
-
-			ccb = list_scb->io_ctx;
 			callout_stop(&scb->io_timer);
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209021801.q82I1Gwo045416>