Skip to content

Commit 7fd84e5

Browse files
author
Jocelyn Falempe
committed
fbdev: efifb: Change the return value type to void
JIRA: https://issues.redhat.com/browse/RHEL-75953 Upstream Status: v6.14-rc1 commit 021e111 Author: Shixiong Ou <oushixiong@kylinos.cn> AuthorDate: Fri Jan 3 11:26:33 2025 +0800 Commit: Helge Deller <deller@gmx.de> CommitDate: Thu Jan 9 00:29:42 2025 +0100 efifb_setup() doesn't need to return a value. Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
1 parent 7ee8690 commit 7fd84e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/video/fbdev/efifb.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ static const struct fb_ops efifb_ops = {
275275
.fb_setcolreg = efifb_setcolreg,
276276
};
277277

278-
static int efifb_setup(struct screen_info *si, char *options)
278+
static void efifb_setup(struct screen_info *si, char *options)
279279
{
280280
char *this_opt;
281281

@@ -299,8 +299,6 @@ static int efifb_setup(struct screen_info *si, char *options)
299299
use_bgrt = false;
300300
}
301301
}
302-
303-
return 0;
304302
}
305303

306304
static inline bool fb_base_is_valid(struct screen_info *si)

0 commit comments

Comments
 (0)