svn commit: r227042 - head/sys/dev/tl
Marius Strobl
marius at FreeBSD.org
Wed Nov 2 23:22:51 UTC 2011
Author: marius
Date: Wed Nov 2 23:22:50 2011
New Revision: 227042
URL: http://svn.freebsd.org/changeset/base/227042
Log:
Remove variable initialized but no longer actually used since r226995.
Found with: Coverity Prevent(tm)
CID: 10044
Modified:
head/sys/dev/tl/if_tl.c
Modified: head/sys/dev/tl/if_tl.c
==============================================================================
--- head/sys/dev/tl/if_tl.c Wed Nov 2 23:18:19 2011 (r227041)
+++ head/sys/dev/tl/if_tl.c Wed Nov 2 23:22:50 2011 (r227042)
@@ -920,12 +920,9 @@ static void
tl_hardreset(dev)
device_t dev;
{
- struct tl_softc *sc;
int i;
u_int16_t flags;
- sc = device_get_softc(dev);
-
mii_bitbang_sync(dev, &tl_mii_bitbang_ops);
flags = BMCR_LOOP|BMCR_ISO|BMCR_PDOWN;
More information about the svn-src-head
mailing list