[3/3] dio: Remove unused dio_dev_driver()
diff mbox series

Message ID 20200112165613.20960-4-geert@linux-m68k.org
State Accepted
Commit 435cb3eaf34e821072134afc2a61329ca2fd7549
Headers show
Series
  • dio: Miscellaneous cleanups
Related show

Commit Message

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

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

Patch
diff mbox series

diff --git a/include/linux/dio.h b/include/linux/dio.h
index ca07243690edf6eb..5abd07361eb516b5 100644
--- a/include/linux/dio.h
+++ b/include/linux/dio.h
@@ -247,10 +247,6 @@  extern int dio_create_sysfs_dev_files(struct dio_dev *);
 /* New-style probing */
 extern int dio_register_driver(struct dio_driver *);
 extern void dio_unregister_driver(struct dio_driver *);
-static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d)
-{
-    return d->driver;
-}
 
 #define dio_resource_start(d) ((d)->resource.start)
 #define dio_resource_end(d)   ((d)->resource.end)