summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-04-20 13:32:29 +0000
committerdlg <dlg@openbsd.org>2006-04-20 13:32:29 +0000
commitc2d9ebe17a35db187a81d73b104f66336a9ed5a0 (patch)
treee2979128f3b1f5d131bbc14084fc962b455ae094
parentget rid of the ccb list typedef. while here switch to TAILQ_HEAD instead (diff)
downloadwireguard-openbsd-c2d9ebe17a35db187a81d73b104f66336a9ed5a0.tar.xz
wireguard-openbsd-c2d9ebe17a35db187a81d73b104f66336a9ed5a0.zip
return after goto wont be reached, so remove it. found by lint.
-rw-r--r--sys/dev/ic/ami.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index f60d40a1076..584b7fd72a0 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.149 2006/04/20 13:02:26 dlg Exp $ */
+/* $OpenBSD: ami.c,v 1.150 2006/04/20 13:32:29 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1835,7 +1835,6 @@ ami_mgmt(struct ami_softc *sc, u_int8_t opcode, u_int8_t par1, u_int8_t par2,
if ((am = ami_allocmem(sc, size)) == NULL) {
error = ENOMEM;
goto memerr;
- return (ENOMEM);
}
idata = AMIMEM_KVA(am);
}