Staging: xgifb: Removes dead code
authorJavier Martinez Canillas <martinez.javier@gmail.com>
Mon, 21 Feb 2011 09:09:05 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 22:18:07 +0000 (14:18 -0800)
commitcfd6ea0b731d048037ba00b8dd3777a91b9675e0
tree0439b888dce60798e25d9fad233812f6457f3457
parentfc3cc2caa07568de92cc84780b89b5cf9fbf28b7
Staging: xgifb: Removes dead code

xgifb staging driver has code that dependens on XGIfb_accel != 0.
But as Dan Carpenter noticed, XGIfb_accel value is always 0 in current driver.
So there is code that never gets executed.

This patch removes this dead code.

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Acked-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_accel.c