svn commit: r300842 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Fri May 27 11:46:37 UTC 2016


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);


More information about the svn-src-head mailing list