summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2007-06-08 01:21:20 +0000
committermjacob <mjacob@FreeBSD.org>2007-06-08 01:21:20 +0000
commit97e4438725f5f7eba372a2b36d4c37f4de530f21 (patch)
tree68be43cdf505f4d1bdb472e49bd88d75131212c3 /sys/dev/an/if_an.c
parented91131846a5b2bc6e6cfd00114e375f21eb1324 (diff)
downloadFreeBSD-src-97e4438725f5f7eba372a2b36d4c37f4de530f21.zip
FreeBSD-src-97e4438725f5f7eba372a2b36d4c37f4de530f21.tar.gz
Remove assignment to uninitialized variable that wasn't then used anyway.
Diffstat (limited to 'sys/dev/an/if_an.c')
-rw-r--r--sys/dev/an/if_an.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 224d51f..df2cf05 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -1478,7 +1478,6 @@ an_write_record(struct an_softc *sc, struct an_ltv_gen *ltv)
struct an_card_rid_desc an_rid_desc;
struct an_command cmd;
struct an_reply reply;
- char *buf;
u_int16_t *ptr;
u_int8_t *ptr2;
int i, len;
@@ -1554,7 +1553,6 @@ an_write_record(struct an_softc *sc, struct an_ltv_gen *ltv)
return(EIO);
}
- ptr = (u_int16_t *)buf;
if (reply.an_status & AN_CMD_QUAL_MASK) {
printf("an%d: failed to write RID 2 %x %x %x %x %x, %d\n",
OpenPOWER on IntegriCloud