From: YueHaibing Date: Fri, 18 Sep 2020 13:13:05 +0000 (+0800) Subject: wlcore: Remove unused function no_write_handler() X-Git-Tag: v5.10.7~1401^2~150^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0c8ff7c1e472df2c1427f57a6192da2e2e2c768;p=platform%2Fkernel%2Flinux-rpi.git wlcore: Remove unused function no_write_handler() There is no caller in tree, so can remove it. Signed-off-by: YueHaibing Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20200918131305.20976-1-yuehaibing@huawei.com --- diff --git a/drivers/net/wireless/ti/wlcore/debugfs.c b/drivers/net/wireless/ti/wlcore/debugfs.c index 48adb18..cce8d75 100644 --- a/drivers/net/wireless/ti/wlcore/debugfs.c +++ b/drivers/net/wireless/ti/wlcore/debugfs.c @@ -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) \