Blame SOURCES/0398-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch

468bd4
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
468bd4
From: Darren Kenny <darren.kenny@oracle.com>
468bd4
Date: Wed, 21 Oct 2020 14:44:10 +0000
468bd4
Subject: [PATCH] io/lzopio: Resolve unnecessary self-assignment errors
468bd4
468bd4
These 2 assignments are unnecessary since they are just assigning
468bd4
to themselves.
468bd4
468bd4
Fixes: CID 73643
468bd4
468bd4
Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
468bd4
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
468bd4
---
468bd4
 grub-core/io/lzopio.c | 4 ----
468bd4
 1 file changed, 4 deletions(-)
468bd4
468bd4
diff --git a/grub-core/io/lzopio.c b/grub-core/io/lzopio.c
030dc3
index 84edf6dd2dc..6bf14daf474 100644
468bd4
--- a/grub-core/io/lzopio.c
468bd4
+++ b/grub-core/io/lzopio.c
468bd4
@@ -125,8 +125,6 @@ read_block_header (struct grub_lzopio *lzopio)
468bd4
 			  sizeof (lzopio->block.ucheck)) !=
468bd4
 	  sizeof (lzopio->block.ucheck))
468bd4
 	return -1;
468bd4
-
468bd4
-      lzopio->block.ucheck = lzopio->block.ucheck;
468bd4
     }
468bd4
 
468bd4
   /* Read checksum of compressed data.  */
468bd4
@@ -143,8 +141,6 @@ read_block_header (struct grub_lzopio *lzopio)
468bd4
 			      sizeof (lzopio->block.ccheck)) !=
468bd4
 	      sizeof (lzopio->block.ccheck))
468bd4
 	    return -1;
468bd4
-
468bd4
-	  lzopio->block.ccheck = lzopio->block.ccheck;
468bd4
 	}
468bd4
     }
468bd4