mfd: cros_ec: Remove unused __remove function
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Jun 2018 14:48:06 +0000 (16:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Jun 2018 08:11:12 +0000 (09:11 +0100)
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 <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c

index dfc9f131aabe46b3a46b51e59a5759ce7ece5d5a..4199cdd4ff89e9b82782bb78bfb4e6b08825a1f8 100644 (file)
@@ -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)
 {
        /*