wlcore: Remove unused function no_write_handler()
authorYueHaibing <yuehaibing@huawei.com>
Fri, 18 Sep 2020 13:13:05 +0000 (21:13 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Sep 2020 07:14:42 +0000 (10:14 +0300)
There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200918131305.20976-1-yuehaibing@huawei.com
drivers/net/wireless/ti/wlcore/debugfs.c

index 48adb18..cce8d75 100644 (file)
@@ -122,13 +122,6 @@ static void chip_op_handler(struct wl1271 *wl, unsigned long value,
        pm_runtime_put_autosuspend(wl->dev);
 }
 
-
-static inline void no_write_handler(struct wl1271 *wl,
-                                   unsigned long value,
-                                   unsigned long param)
-{
-}
-
 #define WL12XX_CONF_DEBUGFS(param, conf_sub_struct,                    \
                            min_val, max_val, write_handler_locked,     \
                            write_handler_arg)                          \