]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/boot/compressed/misc.h
x86/boot/KASLR: Fix kexec crash due to 'virt_addr' calculation bug
[karo-tx-linux.git] / arch / x86 / boot / compressed / misc.h
index 1c8355eadbd199027fd12da0347f5f3f5f2dcf43..766a5211f82768303087818c8da4ef280e688dd0 100644 (file)
@@ -81,8 +81,6 @@ static inline void choose_random_location(unsigned long input,
                                          unsigned long output_size,
                                          unsigned long *virt_addr)
 {
-       /* No change from existing output location. */
-       *virt_addr = *output;
 }
 #endif