Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 11:46:36 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300842 - head/sys/dev/sfxge/common
Message-ID:  <201605271146.u4RBkaGX045155@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri May 27 11:46:35 2016
New Revision: 300842
URL: https://svnweb.freebsd.org/changeset/base/300842

Log:
  sfxge(4): remove unreachable break after goto
  
  Found by lint on illumos.
  
  Submitted by:   Garrett D'Amore <garrett at damore.org>
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      1 week

Modified:
  head/sys/dev/sfxge/common/ef10_mcdi.c
  head/sys/dev/sfxge/common/siena_mcdi.c

Modified: head/sys/dev/sfxge/common/ef10_mcdi.c
==============================================================================
--- head/sys/dev/sfxge/common/ef10_mcdi.c	Fri May 27 11:45:42 2016	(r300841)
+++ head/sys/dev/sfxge/common/ef10_mcdi.c	Fri May 27 11:46:35 2016	(r300842)
@@ -288,7 +288,6 @@ ef10_mcdi_feature_supported(
 	default:
 		rc = ENOTSUP;
 		goto fail1;
-		break;
 	}
 
 	return (0);

Modified: head/sys/dev/sfxge/common/siena_mcdi.c
==============================================================================
--- head/sys/dev/sfxge/common/siena_mcdi.c	Fri May 27 11:45:42 2016	(r300841)
+++ head/sys/dev/sfxge/common/siena_mcdi.c	Fri May 27 11:46:35 2016	(r300842)
@@ -237,7 +237,6 @@ siena_mcdi_feature_supported(
 	default:
 		rc = ENOTSUP;
 		goto fail1;
-		break;
 	}
 
 	return (0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605271146.u4RBkaGX045155>