diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:40:33 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:40:33 +0000 |
commit | 701f0670f77521b2fb82a242570c85fa7dc7cf39 (patch) | |
tree | 16c14fa1658ce39299c941554b3ee56e193445c0 | |
parent | 2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de> (diff) | |
download | libbsdport-701f0670f77521b2fb82a242570c85fa7dc7cf39.tar.bz2 |
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/ifmedia.c: fixed 'unused variable' warning
by removing unused var.
-rw-r--r-- | bsd_eth_drivers/libbsdport/ifmedia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd_eth_drivers/libbsdport/ifmedia.c b/bsd_eth_drivers/libbsdport/ifmedia.c index 719e020..dc85dfd 100644 --- a/bsd_eth_drivers/libbsdport/ifmedia.c +++ b/bsd_eth_drivers/libbsdport/ifmedia.c @@ -53,7 +53,7 @@ struct ifmedia_entry *ifmen, *ifmep, *ifme; void ifmedia_removeall(struct ifmedia *ifm) { -struct ifmedia_entry *ifmen, *ifmep, *ifme; +struct ifmedia_entry *ifmen, *ifmep; for ( ifmep = LIST_FIRST(&ifm->ifm_list); ifmep; ifmep = ifmen ) { ifmen = LIST_NEXT(ifmep, ifm_list); free(ifmep, M_DEVBUF); |