Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2012 18:17:12 +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: r240041 - stable/7/sys/dev/aac
Message-ID:  <201209021817.q82IHCuK047799@svn.freebsd.org>

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

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

Modified:
  stable/7/sys/dev/aac/aac_disk.c
Directory Properties:
  stable/7/sys/   (props changed)

Modified: stable/7/sys/dev/aac/aac_disk.c
==============================================================================
--- stable/7/sys/dev/aac/aac_disk.c	Sun Sep  2 18:14:01 2012	(r240040)
+++ stable/7/sys/dev/aac/aac_disk.c	Sun Sep  2 18:17:12 2012	(r240041)
@@ -329,9 +329,6 @@ aac_disk_dump(void *arg, void *virtual, 
 void
 aac_biodone(struct bio *bp)
 {
-	struct aac_disk	*sc;
-
-	sc = (struct aac_disk *)bp->bio_disk->d_drv1;
 	fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
 
 	if (bp->bio_flags & BIO_ERROR)



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