]> git.baikalelectronics.ru Git - kernel.git/commit
staging: xgifb: remove unnecessary check
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 31 Dec 2014 11:27:46 +0000 (16:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Jan 2015 00:15:59 +0000 (16:15 -0800)
commit8eaf9ff09579f59c2042e59acfa1a8d69a67a1c5
tree4b90e0e7322e1ac059a2a5721103c827a76d6ac2
parentd126327ee9a4a20f48d68e069acea779054ff719
staging: xgifb: remove unnecessary check

the check for htotal and vtotal is not required as we have already
checked for them and returned -EINVAL if any of them is zero.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c