dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/0048-Remove-unused-code.patch

f9a9f5
From 66cf514d43e93ff5258f09c60f1d0734d4c473a2 Mon Sep 17 00:00:00 2001
f9a9f5
From: Xiao Ni <xni@redhat.com>
f9a9f5
Date: Fri, 29 Nov 2019 17:09:18 +0800
f9a9f5
Subject: [RHEL7.8 PATCH V2 1/1] Remove unused code
f9a9f5
f9a9f5
Signed-off-by: Xiao Ni <xni@redhat.com>
f9a9f5
---
f9a9f5
 platform-intel.h | 1 -
f9a9f5
 1 file changed, 1 deletion(-)
f9a9f5
f9a9f5
diff --git a/platform-intel.h b/platform-intel.h
f9a9f5
index 29c85f1..7cb370e 100644
f9a9f5
--- a/platform-intel.h
f9a9f5
+++ b/platform-intel.h
f9a9f5
@@ -169,7 +169,6 @@ static inline int fls(int x)
f9a9f5
 		r -= 2;
f9a9f5
 	}
f9a9f5
 	if (!(x & 0x80000000u)) {
f9a9f5
-		x <<= 1;
f9a9f5
 		r -= 1;
f9a9f5
 	}
f9a9f5
 	return r;
f9a9f5
-- 
f9a9f5
2.7.5
f9a9f5