[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200112165613.20960-4-geert@linux-m68k.org>
Date: Sun, 12 Jan 2020 17:56:13 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Philip Blundell <philb@....org>
Cc: linux-m68k@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH 3/3] dio: Remove unused dio_dev_driver()
This function was never used.
Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
include/linux/dio.h | 4 ----
1 file changed, 4 deletions(-)
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)
--
2.17.1
Powered by blists - more mailing lists