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

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