Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd79014c authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

zorro: Don't fill in dummy names in zorro_name_device()



If the device is not found in the database, it's not needed to fill in
a dummy name. The caller of zorro_name_device() has already taken care
of that to support CONFIG_ZORRO_NAMES=n.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent c293738e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -69,7 +69,6 @@ void __init zorro_name_device(struct zorro_dev *dev)
	} while (--i);

	/* Couldn't find either the manufacturer nor the product */
	sprintf(name, "Zorro device %08x", dev->id);
	return;

	match_manuf: {