aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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,
66#ifdef __i386__ 66#ifdef __i386__
67 int offset; 67 int offset;
68 68
69 if (!ypan)
70 return -EINVAL;
71 if (var->xoffset)
72 return -EINVAL;
73 if (var->yoffset > var->yres_virtual)
74 return -EINVAL;
75 if ((ypan==1) && var->yoffset+var->yres > var->yres_virtual)
76 return -EINVAL;
77
78 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4; 69 offset = (var->yoffset * info->fix.line_length + var->xoffset) / 4;
79 70
80 __asm__ __volatile__( 71 __asm__ __volatile__(