summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/reg_script.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c
index 56285f1ce1..e84c1379b0 100644
--- a/src/lib/reg_script.c
+++ b/src/lib/reg_script.c
@@ -373,7 +373,6 @@ static uint64_t reg_script_read_msr(struct reg_script_context *ctx)
const struct reg_script *step = reg_script_get_step(ctx);
msr_t msr = rdmsr(step->reg);
uint64_t value = msr.hi;
- value = msr.hi;
value <<= 32;
value |= msr.lo;
return value;