diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-01-12 17:56:13 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-03-09 11:12:19 +0100 |
commit | 435cb3eaf34e821072134afc2a61329ca2fd7549 (patch) | |
tree | 283b0f98a726e4f9f751d4fa217024494c40bb4c /include/linux/dio.h | |
parent | b87c9661bf3503b5525be49d37ee949a5bbfa04e (diff) |
dio: Remove unused dio_dev_driver()
This function was never used.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20200112165613.20960-4-geert@linux-m68k.org
Diffstat (limited to 'include/linux/dio.h')
-rw-r--r-- | include/linux/dio.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/dio.h b/include/linux/dio.h index ca07243690ed..5abd07361eb5 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) |