Skip to content

Commit

Permalink
dio: Remove unused dio_dev_driver()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Geert Uytterhoeven committed Mar 9, 2020
1 parent b87c966 commit 435cb3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/dio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 435cb3e

Please sign in to comment.