[PATCH 4/5] zorro: Remove unused zorro_dev_driver()

From: Geert Uytterhoeven
Date: Sun Jan 12 2020 - 11:50:10 EST


This function was never used.

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
include/linux/zorro.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/include/linux/zorro.h b/include/linux/zorro.h
index cb72515b0ac17040..22f3f80fbcb5afe6 100644
--- a/include/linux/zorro.h
+++ b/include/linux/zorro.h
@@ -70,10 +70,6 @@ struct zorro_driver {
/* New-style probing */
extern int zorro_register_driver(struct zorro_driver *);
extern void zorro_unregister_driver(struct zorro_driver *);
-static inline struct zorro_driver *zorro_dev_driver(const struct zorro_dev *z)
-{
- return z->driver;
-}


extern unsigned int zorro_num_autocon; /* # of autoconfig devices found */
--
2.17.1