Skip to content

Commit

Permalink
11588 loader: isapnp.c: this statement may fall through
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Garrett D'Amore <garrett@damore.org>
  • Loading branch information
tsoome committed Sep 20, 2019
1 parent c8caaf7 commit c79df70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions usr/src/boot/sys/boot/common/isapnp.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*-
/*
* Copyright (c) 1998, Michael Smith
* Copyright (c) 1996, Sujal M. Patel
* All rights reserved.
Expand Down Expand Up @@ -26,7 +26,6 @@
*/

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");

/*
* Machine-independant ISA PnP enumerator implementing a subset of the
Expand Down Expand Up @@ -175,10 +174,10 @@ isapnp_scan_resdata(struct pnpinfo *pi)
if (isapnp_get_resource_info(resinfo, PNP_SRES_LEN(tag)))
return(1);
pnp_addident(pi, pnp_eisaformat(resinfo));
return(0);

case END_TAG:
return(0);
break;

default:
/* Skip this resource */
Expand Down

0 comments on commit c79df70

Please sign in to comment.