The same code regardless of the outcome of the if statement. This may of course be a miss and there should be a difference in the code. And sets a variable that is missed, a probable cut and paste mistake. This was partly found using a static code analysis program called cppcheck. Rickard Strandqvist (1): video: fbdev: sis: init301.c: Cleaning up useless if statement drivers/video/fbdev/sis/init301.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html