Staging: asus_oled: fixed warning 'default case should have 'break'.
authorTülin İzer <tulinizer@gmail.com>
Sun, 12 May 2013 12:57:11 +0000 (15:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 May 2013 15:27:42 +0000 (08:27 -0700)
This patch fixes the warning about switch case found by checkpatch.pl
in driver asus_oled.

Signed-off-by: Tülin İzer <tulinizer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/asus_oled/asus_oled.c

index d0a5a28a8fe22598e760788a63b257f5f0cc93c9..6ff01464c2bc461a82e5a5c2eea6d25c7e247038 100644 (file)
@@ -401,7 +401,7 @@ static int append_values(struct asus_oled_dev *odev, uint8_t val, size_t count)
 
                default:
                        /* cannot get here; stops gcc complaining*/
-                       ;
+                       break;
                }
 
                odev->buf_offs++;