svn commit: r238201 - head/sys/dev/aac

Eitan Adler eadler at FreeBSD.org
Sat Jul 7 17:20:24 UTC 2012


Author: eadler
Date: Sat Jul  7 17:20:24 2012
New Revision: 238201
URL: http://svn.freebsd.org/changeset/base/238201

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

Modified:
  head/sys/dev/aac/aac_disk.c

Modified: head/sys/dev/aac/aac_disk.c
==============================================================================
--- head/sys/dev/aac/aac_disk.c	Sat Jul  7 17:17:43 2012	(r238200)
+++ head/sys/dev/aac/aac_disk.c	Sat Jul  7 17:20:24 2012	(r238201)
@@ -332,9 +332,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)


More information about the svn-src-all mailing list