diff options
author | Sergio Lopez <slp@redhat.com> | 2019-10-10 16:00:43 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-22 09:38:42 +0200 |
commit | 86a9a7916b6b69e429f078dd9c89c2907ff43308 (patch) | |
tree | 5953470c7ed9816281646ec529d3056d598c0c7b /hw/i386 | |
parent | 350f5233d755cb00e62ccadc7635435ac3238aa6 (diff) | |
download | qemu-86a9a7916b6b69e429f078dd9c89c2907ff43308.zip qemu-86a9a7916b6b69e429f078dd9c89c2907ff43308.tar.gz qemu-86a9a7916b6b69e429f078dd9c89c2907ff43308.tar.bz2 |
hw/i386/pc: remove commented out code from x86_load_linux()
Follow checkpatch.pl recommendation and remove commented out code from
x86_load_linux().
Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 77198d5..903bc05 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1061,9 +1061,6 @@ static void x86_load_linux(PCMachineState *pcms, } /* kernel protocol version */ -#if 0 - fprintf(stderr, "header magic: %#x\n", ldl_p(header+0x202)); -#endif if (ldl_p(header + 0x202) == 0x53726448) { protocol = lduw_p(header + 0x206); } else { @@ -1155,16 +1152,6 @@ static void x86_load_linux(PCMachineState *pcms, prot_addr = 0x100000; } -#if 0 - fprintf(stderr, - "qemu: real_addr = 0x" TARGET_FMT_plx "\n" - "qemu: cmdline_addr = 0x" TARGET_FMT_plx "\n" - "qemu: prot_addr = 0x" TARGET_FMT_plx "\n", - real_addr, - cmdline_addr, - prot_addr); -#endif - /* highest address for loading the initrd */ if (protocol >= 0x20c && lduw_p(header + 0x236) & XLF_CAN_BE_LOADED_ABOVE_4G) { |