These function have been unused since 2009, so drop them already. Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de> --- include/driver.h | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/include/driver.h b/include/driver.h index 59ce1d5cc9b7..76b167166954 100644 --- a/include/driver.h +++ b/include/driver.h @@ -21,7 +21,6 @@ #include <param.h> -struct file; struct bus_type; struct generic_pm_domain; @@ -353,16 +352,6 @@ ssize_t mem_copy(struct device *dev, void *dst, const void *src, int generic_memmap_ro(struct cdev *dev, void **map, int flags); int generic_memmap_rw(struct cdev *dev, void **map, int flags); -static inline int dev_open_default(struct device *dev, struct file *f) -{ - return 0; -} - -static inline int dev_close_default(struct device *dev, struct file *f) -{ - return 0; -} - struct bus_type { char *name; int (*match)(struct device *dev, struct driver *drv); -- 2.39.5