Commit bd79014cd47b3a0fa59a7a17489d8ada56ecab9b

Authored by Geert Uytterhoeven
1 parent c293738e6d

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: Geert Uytterhoeven <geert@linux-m68k.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

drivers/zorro/names.c
... ... @@ -69,7 +69,6 @@
69 69 } while (--i);
70 70  
71 71 /* Couldn't find either the manufacturer nor the product */
72   - sprintf(name, "Zorro device %08x", dev->id);
73 72 return;
74 73  
75 74 match_manuf: {