diff options
author | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-07 08:53:44 +0000 |
commit | 4d268889365c1d9414bbca2f6c63d87db74ec37b (patch) | |
tree | 6993a0a1b7a3687b97ad7a5a073bb465e89eb411 /sys/kern/kern_module.c | |
parent | e4fdd132492fc7a4aaa448a72f13f3344f287ab1 (diff) | |
download | FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.zip FreeBSD-src-4d268889365c1d9414bbca2f6c63d87db74ec37b.tar.gz |
Remove a bunch of variables which were unused both in GENERIC and LINT.
Found by: -Wunused
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r-- | sys/kern/kern_module.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c index 80a8f14..b0fe29a 100644 --- a/sys/kern/kern_module.c +++ b/sys/kern/kern_module.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_module.c,v 1.4 1997/10/28 15:58:21 bde Exp $ + * $Id: kern_module.c,v 1.5 1997/11/06 19:29:11 phk Exp $ */ #include <sys/param.h> @@ -70,7 +70,6 @@ static void module_shutdown(int arg1, void* arg2) { module_t mod; - int error; for (mod = TAILQ_FIRST(&modules); mod; mod = TAILQ_NEXT(mod, link)) MOD_EVENT(mod, MOD_SHUTDOWN); |