Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 08:08:34 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239047 - head/sys/dev/aic7xxx
Message-ID:  <201208050808.q7588Ygl054963@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}
 	}



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