From: YueHaibing Date: Thu, 20 Jul 2023 14:37:12 +0000 (+0800) Subject: extcon: Remove unused inline functions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=52e4e2878236823ac3ba4d6033d81e8c389745fd;p=linux.git extcon: Remove unused inline functions commit 830ae442202e ("extcon: Remove the deprecated extcon functions") left behind this. Signed-off-by: YueHaibing Signed-off-by: Chanwoo Choi --- diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 3c45c3846fe94..e596a0abcb274 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -328,16 +328,4 @@ struct extcon_specific_cable_nb { struct extcon_dev *edev; unsigned long previous_value; }; - -static inline int extcon_register_interest(struct extcon_specific_cable_nb *obj, - const char *extcon_name, const char *cable_name, - struct notifier_block *nb) -{ - return -EINVAL; -} - -static inline int extcon_unregister_interest(struct extcon_specific_cable_nb *obj) -{ - return -EINVAL; -} #endif /* __LINUX_EXTCON_H__ */