]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging/xgifb: Remove unnecessary casts
authorPeter Huewe <peterhuewe@gmx.de>
Fri, 15 Feb 2013 19:37:10 +0000 (20:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 23:12:40 +0000 (15:12 -0800)
commit9388ad9c6a3188015b407cacabd68004f93f2165
tree7cb4b926d142bb5fd6a3009a81a7bde0b74b1c9a
parent66b43eb25759b5bf76465c97107dc45b73eeb0e3
staging/xgifb: Remove unnecessary casts

Both functions xgifb_reg_get and inb return an u8 value, so we don't
need to cast their return value to unsigned char.

-> remove the cast

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