From: Jiapeng Chong Date: Tue, 13 Apr 2021 09:34:20 +0000 (+0800) Subject: watchdog: it87_wdt: remove useless function X-Git-Tag: accepted/tizen/unified/20230118.172025~6872^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d12252b37a2f907a1d08ac705caed9f780cabfa;p=platform%2Fkernel%2Flinux-rpi.git watchdog: it87_wdt: remove useless function Fix the following clang warning: drivers/watchdog/it87_wdt.c:155:20: warning: unused function 'superio_outw' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/1618306460-57286-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index 2b48318..bb11229 100644 --- a/drivers/watchdog/it87_wdt.c +++ b/drivers/watchdog/it87_wdt.c @@ -152,14 +152,6 @@ static inline int superio_inw(int reg) return val; } -static inline void superio_outw(int val, int reg) -{ - outb(reg++, REG); - outb(val >> 8, VAL); - outb(reg, REG); - outb(val, VAL); -} - /* Internal function, should be called after superio_select(GPIO) */ static void _wdt_update_timeout(unsigned int t) {