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

Reply via email to