[4/5] zorro: Remove unused zorro_dev_driver()
diff mbox series

Message ID 20200112164949.20196-5-geert@linux-m68k.org
State Accepted
Commit 1c5b915a13068313a0809404964737bf5aedace7
Headers show
Series
  • zorro: Miscellaneous cleanups
Related show

Commit Message

Geert Uytterhoeven Jan. 12, 2020, 4:49 p.m. UTC
This function was never used.

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

Patch
diff mbox series

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 */