linux-5.1/drivers/video/fbdev/via/viafbdev.c:233: bad assignment ?

David Binderman dcb314 at hotmail.com
Tue May 7 10:15:16 UTC 2019


Hello there,

[linux-5.1/drivers/video/fbdev/via/viafbdev.c:233]: (style) Assignment 'depth=30' is redundant with condition 'depth==30'.

Source code is

        else if (depth == 30)
                depth = 30;

Suggest code rework.

Regards

David Binderman


More information about the dri-devel mailing list