[PATCH] video:uvesafb: reduce the double check

2012-08-15 Thread Wang YanQing
uvesafb_open had checked the par->vbe_state_size, so we don't need to check it again in uvesafb_vbe_state_save, this patch just can reduce a few lines of code. Signed-off-by: Wang YanQing --- drivers/video/uvesafb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/video/uvesafb.c

[PATCH] video:uvesafb: reduce the double check

2012-08-15 Thread Wang YanQing
uvesafb_open had checked the par-vbe_state_size, so we don't need to check it again in uvesafb_vbe_state_save, this patch just can reduce a few lines of code. Signed-off-by: Wang YanQing udkni...@gmail.com --- drivers/video/uvesafb.c | 3 --- 1 file changed, 3 deletions(-) diff --git