Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Remove assigned-to but not used variable.
details: https://anonhg.NetBSD.org/src/rev/9237daa6f279
branches: trunk
changeset: 543322:9237daa6f279
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Feb 23 04:15:02 2003 +0000
description:
Remove assigned-to but not used variable.
diffstat:
sys/dev/pcmcia/if_ray.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 5845db6bf163 -r 9237daa6f279 sys/dev/pcmcia/if_ray.c
--- a/sys/dev/pcmcia/if_ray.c Sun Feb 23 04:14:16 2003 +0000
+++ b/sys/dev/pcmcia/if_ray.c Sun Feb 23 04:15:02 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ray.c,v 1.36 2002/10/02 16:52:14 thorpej Exp $ */
+/* $NetBSD: if_ray.c,v 1.37 2003/02/23 04:15:02 simonb Exp $ */
/*
* Copyright (c) 2000 Christian E. Hopps
* All rights reserved.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.36 2002/10/02 16:52:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.37 2003/02/23 04:15:02 simonb Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -1947,11 +1947,9 @@
struct ray_softc *sc;
bus_size_t ccs;
{
- struct ifnet *ifp;
ray_cmd_func_t rcmd;
u_int cmd, stat;
- ifp = &sc->sc_if;
cmd = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_cmd);
stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status);
Home |
Main Index |
Thread Index |
Old Index