From: Arnd Bergmann Date: Fri, 8 Jun 2018 14:48:06 +0000 (+0200) Subject: mfd: cros_ec: Remove unused __remove function X-Git-Tag: v4.18-rc1~61^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=556c242045f0c1613aac2e64dc5b2ff0e4bc89e1;p=uclinux-h8%2Flinux.git mfd: cros_ec: Remove unused __remove function This function is no longer called, so we get a harmless warning until it is removed as well: drivers/mfd/cros_ec_dev.c:265:13: error: '__remove' defined but not used [-Werror=unused-function] Fixes: 3aa2177e4787 ("mfd: cros_ec: Use devm_kzalloc for private data") Signed-off-by: Arnd Bergmann Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c index dfc9f131aabe..4199cdd4ff89 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -262,8 +262,6 @@ static const struct file_operations fops = { #endif }; -static void __remove(struct device *dev) { } - static void cros_ec_sensors_register(struct cros_ec_dev *ec) { /*