Re: video: au1100fb: Move a variable assignment behind a null pointer check in au1100fb_setmode()
From: Markus Elfring
Date: Mon Mar 03 2025 - 05:37:09 EST
> struct fb_info *info = &fbdev->info;
>
> if (!fbdev)
> return -EINVAL;
Is such a null pointer check still relevant for the discussed function implementation?
Regards,
Markus