diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-20 13:32:30 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-20 13:32:30 +0000 |
commit | 18d373ca778d9fbb57b4db5923ca05bb5285fea4 (patch) | |
tree | 1c04f1404c96ecccaf1313cb4b2f20004db48a1a /sys/dev/ic/ami.c | |
parent | eb549b0e1f45f4cafbace882a8f7691ac85e2a05 (diff) |
return after goto wont be reached, so remove it. found by lint.
Diffstat (limited to 'sys/dev/ic/ami.c')
-rw-r--r-- | sys/dev/ic/ami.c | 3 |
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); } |