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)
commit38c977230c4947d1e99c558a603eb49666a42568
tree4b90e0e7322e1ac059a2a5721103c827a76d6ac2
parente5e76d247f4a40827fef69a72939771943774e87
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