]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging/xgifb: rewrite XGIfb_get_cmap_len
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 21:54:35 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 18:46:27 +0000 (10:46 -0800)
commitbae31702cdc0db3d45d05aa6e073641c85918c50
treebee5252cc7b233c9d27431afea50e12344d0584f
parent76a5899b0ceeaeda7b457b7f55cd258bc0c49c34
staging/xgifb: rewrite XGIfb_get_cmap_len

We don't need to use this switch-case here for a simple two case
if-else.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c