aboutsummaryrefslogtreecommitdiff
path: root/drivers/zorro/names.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/zorro/names.c')
-rw-r--r--drivers/zorro/names.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/zorro/names.c b/drivers/zorro/names.c
index 0dd532d3a5d..6f3fd9903ac 100644
--- a/drivers/zorro/names.c
+++ b/drivers/zorro/names.c
@@ -9,15 +9,12 @@
* David Mosberger-Tang, Martin Mares
*/
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/zorro.h>
-#ifdef CONFIG_ZORRO_NAMES
-
struct zorro_prod_info {
__u16 prod;
unsigned short seen;
@@ -70,7 +67,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: {
@@ -99,11 +95,3 @@ void __init zorro_name_device(struct zorro_dev *dev)
}
}
}
-
-#else
-
-void __init zorro_name_device(struct zorro_dev *dev)
-{
-}
-
-#endif