summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/vesafb.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
index 55e28ba57b43..e6e56b8df2db 100644
--- a/drivers/video/vesafb.c
+++ b/drivers/video/vesafb.c
@@ -66,15 +66,6 @@ static int vesafb_pan_display(struct fb_var_screeninfo *var,
#ifdef __i386__
int offset;
- if (!ypan)
- return -EINVAL;
- if (var->xoffset)
- return -EINVAL;
- if (var->yoffset > var->yres_virtual)
- return -EINVAL;
- if ((ypan==1) && var->yoffset+var->yres > var->yres_virtual)
- return -EINVAL;
-
offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4;
__asm__ __volatile__(