diff options
-rw-r--r-- | drivers/staging/asus_oled/asus_oled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c index 04dde4b8281..9270f5df020 100644 --- a/drivers/staging/asus_oled/asus_oled.c +++ b/drivers/staging/asus_oled/asus_oled.c | |||
@@ -516,7 +516,7 @@ static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz | |||
516 | max_offs = odev->width * odev->height; | 516 | max_offs = odev->width * odev->height; |
517 | 517 | ||
518 | while (offs < count && odev->buf_offs < max_offs) { | 518 | while (offs < count && odev->buf_offs < max_offs) { |
519 | int ret; | 519 | int ret = 0; |
520 | 520 | ||
521 | if (buf[offs] == '1' || buf[offs] == '#') { | 521 | if (buf[offs] == '1' || buf[offs] == '#') { |
522 | ret = append_values(odev, 1, 1); | 522 | ret = append_values(odev, 1, 1); |