From: YueHaibing Date: Thu, 1 Apr 2021 14:18:40 +0000 (+0800) Subject: mfd: twl: Remove unused inline function twl4030charger_usb_en() X-Git-Tag: v5.13-rc1~108^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed25b4f00b61e109b29dc443dd1333b9b0da9bb4;p=thirdparty%2Flinux.git mfd: twl: Remove unused inline function twl4030charger_usb_en() There is no caller in tree, so can remove it. Signed-off-by: YueHaibing Signed-off-by: Lee Jones --- diff --git a/include/linux/mfd/twl.h b/include/linux/mfd/twl.h index 089e8942223aa..8871cc5188a09 100644 --- a/include/linux/mfd/twl.h +++ b/include/linux/mfd/twl.h @@ -781,8 +781,6 @@ int twl4030_sih_setup(struct device *dev, int module, int irq_base); #define TWL4030_VAUX3_DEV_GRP 0x1F #define TWL4030_VAUX3_DEDICATED 0x22 -static inline int twl4030charger_usb_en(int enable) { return 0; } - /*----------------------------------------------------------------------*/ /* Linux-specific regulator identifiers ... for now, we only support