[PATCH xf86-video-tdfx 4/7] Remove unreachable breaks after return statements

Guillem Jover guillem at hadrons.org
Mon Oct 7 12:11:22 PDT 2013


Signed-off-by: Guillem Jover <guillem at hadrons.org>
---
 src/tdfx_driver.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 6bc123b..7e76814 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -2585,14 +2585,11 @@ TDFXValidMode(SCRN_ARG_TYPE arg, DisplayModePtr mode, Bool verbose, int flags) {
     switch (pTDFX->ChipType) {
       case PCI_CHIP_BANSHEE:
         return MODE_BAD;
-        break;
       case PCI_CHIP_VOODOO3:
       case PCI_CHIP_VOODOO5:
         return MODE_OK;
-        break;
       default:
         return MODE_BAD;
-        break;
     }
   }
   /* In clock doubled mode widths must be divisible by 16 instead of 8 */
-- 
1.8.4



More information about the xorg-devel mailing list