fbcon: use min() to make code cleaner
authorChangcheng Deng <deng.changcheng@zte.com.cn>
Wed, 9 Feb 2022 08:48:10 +0000 (08:48 +0000)
committerHelge Deller <deller@gmx.de>
Tue, 12 Apr 2022 19:40:56 +0000 (21:40 +0200)
commit62c6f4f9bb08a8b18fc6e12d865284991ec3776a
tree31727a875c62074fc668ca5403656120432ae630
parentc63462184b35316fed7657d3c92dc5099ad5fab2
fbcon: use min() to make code cleaner

Use min() in order to make code cleaner.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209084810.1561184-1-deng.changcheng@zte.com.cn
drivers/video/fbdev/core/fbcon.c