From: Geert Uytterhoeven Date: Sun, 12 Jan 2020 16:49:48 +0000 (+0100) Subject: zorro: Remove unused zorro_dev_driver() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1c5b915a13068313a0809404964737bf5aedace7;p=linux.git zorro: Remove unused zorro_dev_driver() This function was never used. Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20200112164949.20196-5-geert@linux-m68k.org --- diff --git a/include/linux/zorro.h b/include/linux/zorro.h index cb72515b0ac17..22f3f80fbcb5a 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 */