mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
video: fbdev: remove redundant self assignment of 'height'
The assignment of height to itself is redundant and can be removed. Detected with Coccinelle. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
530a6397a9
commit
ad614419da
1 changed files with 0 additions and 1 deletions
|
|
@ -1055,7 +1055,6 @@ static void vga16fb_copyarea(struct fb_info *info, const struct fb_copyarea *are
|
|||
case FB_TYPE_VGA_PLANES:
|
||||
if (info->fix.type_aux == FB_AUX_VGA_PLANES_VGA4) {
|
||||
width = width/8;
|
||||
height = height;
|
||||
line_ofs = info->fix.line_length - width;
|
||||
|
||||
setmode(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue