svn commit: r240029 - stable/7/sys/dev/aic7xxx

Eitan Adler eadler at FreeBSD.org
Sun Sep 2 18:01:17 UTC 2012


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);
 		}
 	}


More information about the svn-src-all mailing list