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: MMI-PSA29.97-13-9~14152^2~834 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44eeccc054909fd47e6a6cd55eba05a985396177;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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++;