diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-06 14:17:45 +0800 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-05-09 23:09:41 +0200 |
commit | 6e85bd73d50d674912618e3ed226b2f2a47a178a (patch) | |
tree | 185a84a52a86b0bc3486faba7f3889340cd432f8 /lib/seq_buf.c | |
parent | 7429e92386b2176bc5474626456a70e4e4b676ea (diff) | |
download | linux-stable-6e85bd73d50d674912618e3ed226b2f2a47a178a.tar.gz linux-stable-6e85bd73d50d674912618e3ed226b2f2a47a178a.tar.bz2 linux-stable-6e85bd73d50d674912618e3ed226b2f2a47a178a.zip |
video: fbdev: pxa168fb: make pxa168fb_init_mode() return void
No other functions use the return value of pxa168fb_init_mode() and the
return value is always 0 now. Make it return void. This fixes the
following coccicheck warning:
drivers/video/fbdev/pxa168fb.c:565:5-8: Unneeded variable: "ret". Return
"0" on line 597
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
[fixed indent]
Link: https://patchwork.freedesktop.org/patch/msgid/20200506061745.19451-1-yanaijie@huawei.com
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions