video: au1100fb: Move a variable assignment behind a null pointer check in au1100fb_setmode()

Markus Elfring Markus.Elfring at web.de
Mon Mar 3 10:36:28 UTC 2025


> 	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



More information about the dri-devel mailing list