[PATCH 02/10] staging/xgifb: Remove always false comparisons

2013-02-03 Thread Peter Huewe
This patch removes some comparisons that always evaluate to false since xoffset and yoffset are defined as __u32 in fb_var_screeninfo in include/linux/fb.h and thus can never be negative. Signed-off-by: Peter Huewe --- drivers/staging/xgifb/XGI_main_26.c |9 + 1 files changed, 1

[PATCH 02/10] staging/xgifb: Remove always false comparisons

2013-02-03 Thread Peter Huewe
This patch removes some comparisons that always evaluate to false since xoffset and yoffset are defined as __u32 in fb_var_screeninfo in include/linux/fb.h and thus can never be negative. Signed-off-by: Peter Huewe peterhu...@gmx.de --- drivers/staging/xgifb/XGI_main_26.c |9 + 1