From: Tülin İzer Date: Sun, 12 May 2013 12:57:11 +0000 (+0300) Subject: Staging: asus_oled: fixed warning 'default case should have 'break'. X-Git-Tag: firefly_0821_release~176^2~5845^2~834 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44eeccc054909fd47e6a6cd55eba05a985396177;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c index d0a5a28a8fe2..6ff01464c2bc 100644 --- a/drivers/staging/asus_oled/asus_oled.c +++ b/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++;