diff options
| author | Markus Armbruster | 2019-03-08 10:46:05 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2019-03-11 22:53:44 +0100 |
| commit | 5a4abb197b2ee8e6c545a8ec6e0bf9ca4e470127 (patch) | |
| tree | fbde52fba10baf32d3bb4005f39f11e214bc5b7e /arch_init.c | |
| parent | r2d: Fix flash memory size, sector size, width, device ID (diff) | |
| download | qemu-5a4abb197b2ee8e6c545a8ec6e0bf9ca4e470127.tar.gz qemu-5a4abb197b2ee8e6c545a8ec6e0bf9ca4e470127.tar.xz qemu-5a4abb197b2ee8e6c545a8ec6e0bf9ca4e470127.zip | |
mips_malta: Delete disabled, broken DEBUG_BOARD_INIT code
The debug code under DEBUG_BOARD_INIT doesn't compile:
hw/mips/mips_malta.c:1273:16: error: implicit declaration of function ‘blk_name’; did you mean ‘basename’? [-Werror=implicit-function-declaration]
blk_name(dinfo->bdrv), fl_sectors);
^~~~~~~~
hw/mips/mips_malta.c:1273:16: error: nested extern declaration of ‘blk_name’ [-Werror=nested-externs]
hw/mips/mips_malta.c:1273:30: error: ‘DriveInfo’ {aka ‘struct DriveInfo’} has no member named ‘bdrv’
blk_name(dinfo->bdrv), fl_sectors);
^~
Delete it.
Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190308094610.21210-11-armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions
