svn commit: r239047 - head/sys/dev/aic7xxx

Eitan Adler eadler at FreeBSD.org
Sun Aug 5 08:08:35 UTC 2012


Author: eadler
Date: Sun Aug  5 08:08:34 2012
New Revision: 239047
URL: http://svn.freebsd.org/changeset/base/239047

Log:
  Remove variables which are initialized but never used thereafter
  reported by gcc46 warning
  
  Reviewed by:	scottl
  Approved by:	cperciva
  MFC after:	1 week

Modified:
  head/sys/dev/aic7xxx/aic_osm_lib.c

Modified: head/sys/dev/aic7xxx/aic_osm_lib.c
==============================================================================
--- head/sys/dev/aic7xxx/aic_osm_lib.c	Sun Aug  5 06:15:12 2012	(r239046)
+++ head/sys/dev/aic7xxx/aic_osm_lib.c	Sun Aug  5 08:08:34 2012	(r239047)
@@ -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-head mailing list