From: Shixiong Ou Date: Fri, 3 Jan 2025 03:26:33 +0000 (+0800) Subject: fbdev: efifb: Change the return value type to void X-Git-Tag: v6.14-rc1~109^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=021e111ed08d135963fe3e13d8264b82b2a147dc;p=thirdparty%2Flinux.git fbdev: efifb: Change the return value type to void efifb_setup() doesn't need to return a value. Signed-off-by: Shixiong Ou Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c index 20517448487e7..0e1bd3dba2554 100644 --- a/drivers/video/fbdev/efifb.c +++ b/drivers/video/fbdev/efifb.c @@ -275,7 +275,7 @@ static const struct fb_ops efifb_ops = { .fb_setcolreg = efifb_setcolreg, }; -static int efifb_setup(struct screen_info *si, char *options) +static void efifb_setup(struct screen_info *si, char *options) { char *this_opt; @@ -299,8 +299,6 @@ static int efifb_setup(struct screen_info *si, char *options) use_bgrt = false; } } - - return 0; } static inline bool fb_base_is_valid(struct screen_info *si)