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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to