svn commit: r240043 - stable/9/sys/dev/aac
Eitan Adler
eadler at FreeBSD.org
Sun Sep 2 18:17:20 UTC 2012
Author: eadler
Date: Sun Sep 2 18:17:20 2012
New Revision: 240043
URL: http://svn.freebsd.org/changeset/base/240043
Log:
MFC r238201:
Remove variables which are initialized but never used thereafter
reported by gcc46 warning
Approved by: cperciva (implicit)
Modified:
stable/9/sys/dev/aac/aac_disk.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/aac/aac_disk.c
==============================================================================
--- stable/9/sys/dev/aac/aac_disk.c Sun Sep 2 18:17:16 2012 (r240042)
+++ stable/9/sys/dev/aac/aac_disk.c Sun Sep 2 18:17:20 2012 (r240043)
@@ -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-stable-9
mailing list