summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2020-01-12 17:49:48 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2020-03-09 11:12:19 +0100
commit1c5b915a13068313a0809404964737bf5aedace7 (patch)
tree02bb8b3158a1eae0f065e4adbee717e1ca9abd10
parent3d52910e2b8ae7483a17ee824fa0e4f18bd7e7d4 (diff)
zorro: Remove unused zorro_dev_driver()
This function was never used. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20200112164949.20196-5-geert@linux-m68k.org
-rw-r--r--include/linux/zorro.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/zorro.h b/include/linux/zorro.h
index cb72515b0ac1..22f3f80fbcb5 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 */