[PATCH] video: fbdev: sis: init301.c: Cleaning up a potential division by zero

From: Rickard Strandqvist
Date: Wed Jul 02 2014 - 18:07:27 EST


Guess these ifdef will always be set, but still feel that 1 is a better starting value other than 0 in this case.

This was found using a static code analysis program called cppcheck

Rickard Strandqvist (1):
video: fbdev: sis: init301.c: Cleaning up a potential division by zero

drivers/video/fbdev/sis/init301.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/