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 an unused variable
details: https://anonhg.NetBSD.org/src/rev/92cd7aaaade8
branches: trunk
changeset: 326391:92cd7aaaade8
user: martin <martin%NetBSD.org@localhost>
date: Tue Jan 28 12:18:56 2014 +0000
description:
Remove an unused variable
diffstat:
sys/dev/pcmcia/if_malo_pcmcia.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 10794d9d2b6a -r 92cd7aaaade8 sys/dev/pcmcia/if_malo_pcmcia.c
--- a/sys/dev/pcmcia/if_malo_pcmcia.c Tue Jan 28 12:02:48 2014 +0000
+++ b/sys/dev/pcmcia/if_malo_pcmcia.c Tue Jan 28 12:18:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_malo_pcmcia.c,v 1.2 2013/12/17 01:00:16 joerg Exp $ */
+/* $NetBSD: if_malo_pcmcia.c,v 1.3 2014/01/28 12:18:56 martin Exp $ */
/* $OpenBSD: if_malo.c,v 1.65 2009/03/29 21:53:53 sthen Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.2 2013/12/17 01:00:16 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.3 2014/01/28 12:18:56 martin Exp $");
#ifdef _MODULE
#include <sys/module.h>
@@ -1364,11 +1364,9 @@
struct malo_cmd_header *hdr = (struct malo_cmd_header *)sc->sc_cmd;
struct malo_cmd_body_rsp_scan *body;
struct malo_cmd_body_rsp_scan_set *set;
- uint16_t psize;
int i;
memset(sc->sc_net, 0, sizeof(sc->sc_net));
- psize = sizeof(*hdr) + sizeof(*body);
body = (struct malo_cmd_body_rsp_scan *)(hdr + 1);
body->bufsize = le16toh(body->bufsize);
Home |
Main Index |
Thread Index |
Old Index