video: fbdev: remove redundant self assignment of 'height'

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/ad614419da6db6876fa227e11e69987d4a8500f1
Commit:     ad614419da6db6876fa227e11e69987d4a8500f1
Parent:     530a6397a9af57e654c6d187c99ca50bfcf9f30d
Refname:    refs/heads/master
Author:     Colin Ian King <[email protected]>
AuthorDate: Fri Dec 29 19:48:43 2017 +0100
Committer:  Bartlomiej Zolnierkiewicz <[email protected]>
CommitDate: Fri Dec 29 19:48:43 2017 +0100

    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]>
---
 drivers/video/fbdev/vga16fb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/fbdev/vga16fb.c b/drivers/video/fbdev/vga16fb.c
index 5f0690c8fc93..2c6a576ed84c 100644
--- a/drivers/video/fbdev/vga16fb.c
+++ b/drivers/video/fbdev/vga16fb.c
@@ -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);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.