svn commit: r301395 - stable/10/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Sat Jun 4 17:17:31 UTC 2016


Author: arybchik
Date: Sat Jun  4 17:17:30 2016
New Revision: 301395
URL: https://svnweb.freebsd.org/changeset/base/301395

Log:
  MFC r300842
  
  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.

Modified:
  stable/10/sys/dev/sfxge/common/ef10_mcdi.c
  stable/10/sys/dev/sfxge/common/siena_mcdi.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/ef10_mcdi.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/ef10_mcdi.c	Sat Jun  4 17:17:10 2016	(r301394)
+++ stable/10/sys/dev/sfxge/common/ef10_mcdi.c	Sat Jun  4 17:17:30 2016	(r301395)
@@ -288,7 +288,6 @@ ef10_mcdi_feature_supported(
 	default:
 		rc = ENOTSUP;
 		goto fail1;
-		break;
 	}
 
 	return (0);

Modified: stable/10/sys/dev/sfxge/common/siena_mcdi.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/siena_mcdi.c	Sat Jun  4 17:17:10 2016	(r301394)
+++ stable/10/sys/dev/sfxge/common/siena_mcdi.c	Sat Jun  4 17:17:30 2016	(r301395)
@@ -237,7 +237,6 @@ siena_mcdi_feature_supported(
 	default:
 		rc = ENOTSUP;
 		goto fail1;
-		break;
 	}
 
 	return (0);


More information about the svn-src-stable-10 mailing list