diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-06-30 07:01:26 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 05:09:05 -0500 |
commit | bd79014cd47b3a0fa59a7a17489d8ada56ecab9b (patch) | |
tree | d5e87afa4fc61e0c1b6b10e808f0ee5ca024d6c5 /drivers/zorro | |
parent | c293738e6d8dfb9c941759855b5161fde449644d (diff) |
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>
Diffstat (limited to 'drivers/zorro')
-rw-r--r-- | drivers/zorro/names.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c index e8517c3d8e82..e44e04c4f29d 100644 --- a/drivers/zorro/names.c +++ b/drivers/zorro/names.c | |||
@@ -69,7 +69,6 @@ void __init zorro_name_device(struct zorro_dev *dev) | |||
69 | } while (--i); | 69 | } while (--i); |
70 | 70 | ||
71 | /* Couldn't find either the manufacturer nor the product */ | 71 | /* Couldn't find either the manufacturer nor the product */ |
72 | sprintf(name, "Zorro device %08x", dev->id); | ||
73 | return; | 72 | return; |
74 | 73 | ||
75 | match_manuf: { | 74 | match_manuf: { |