Browse Source

Staging: asus_oled: fixed warning 'default case should have 'break'.

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>
Tülin İzer 12 years ago
parent
commit
44eeccc054
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/asus_oled/asus_oled.c

+ 1 - 1
drivers/staging/asus_oled/asus_oled.c

@@ -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++;