Fix warning in device.c

This commit is contained in:
Jasmine Iwanek
2025-03-10 02:27:02 -04:00
committed by GitHub
parent c20161457a
commit 1005bdddd4

View File

@@ -538,8 +538,6 @@ device_get_bios_file_size(const device_t *dev, const char *internal_name)
const char * const char *
device_get_bios_file(const device_t *dev, const char *internal_name, int file_no) device_get_bios_file(const device_t *dev, const char *internal_name, int file_no)
{ {
const device_config_bios_t *bios = NULL;
if (dev != NULL) { if (dev != NULL) {
const device_config_t *config = dev->config; const device_config_t *config = dev->config;
if (config != NULL) { if (config != NULL) {