Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2477204pxb; Tue, 13 Apr 2021 02:56:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsUCsoP0kbilOpE6Xz9wfM+9jfHFfw5EEd4JgwMgy9AxItdlmXCBV1DknmD+B6fGxH1xFi X-Received: by 2002:a17:90b:fd8:: with SMTP id gd24mr4093385pjb.229.1618307804818; Tue, 13 Apr 2021 02:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618307804; cv=none; d=google.com; s=arc-20160816; b=UCxd/YRI7x6DlLLFQh60yDVUMWnZucJLh3AZxvUFqnBbI88ZBn8dp5DnS2jX2bPXUc T0qwEYMm7VfGSLJEoGFog42YI+YhLlWbGkjW5jh4NpTS0XOh/2DvJpHxgEisKdkQJQPz sPQQJ7FPkhdoLxINOXuEmjxqTLB9BrgERyVU0YIcZ3DVg+lG16qLzdZnNYb6zq5ambIF qEgCVb1cgWV10RIn92nc+kf9eAAKg46JzWKiKk6LZdnQ3TayNJ3RzpvKRZiu0AUEA81m 35nfGl/M6czpH2xtkDkUICYyYsfqLhjmyalB4w8DRa5g8f9My7YoGoTli2waWbuCmLsL 6www== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=bNV/iBck3VXNL8UuEbElZXtWC+MVUfG/FeklERnfkSA=; b=PVkSOd4dJ68xUwcUYOnRuJpFdxeE1f/J8oLpDOSJqaxntTlcIQX2ViXvU0gjyM04VK Z+2RGS1y4oUZYLyjyIh1cecynreqsR0NTrNl0xTJhfkjT/PHSbOKg1VKjMbNyje9Ii2y GE+caRvEZ/XMFpNNgcIHmx8CeKPX+gQlIoILdLBxQHodT/lw2kiPYH7tr0ucH1T0NEbm cMzlIi3auTnQ4Q1BykOT29hN3xbz0EbeSfOfntbiPwxMZMJXsGR25Od/0KkI5GCxhekw hm0/CUZ60uZU1VAEAAyVnWzyRrrQL+nYxjumbzp8YBdTnrv7U2Wf4VxnpuGKO5pW9lfJ 9Mtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d27si4396881pgd.141.2021.04.13.02.56.32; Tue, 13 Apr 2021 02:56:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236844AbhDMJe5 (ORCPT + 99 others); Tue, 13 Apr 2021 05:34:57 -0400 Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:60702 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbhDMJeu (ORCPT ); Tue, 13 Apr 2021 05:34:50 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R511e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UVRamsD_1618306463; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UVRamsD_1618306463) by smtp.aliyun-inc.com(127.0.0.1); Tue, 13 Apr 2021 17:34:29 +0800 From: Jiapeng Chong To: wim@linux-watchdog.org Cc: linux@roeck-us.net, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] watchdog: it87_wdt: remove useless function Date: Tue, 13 Apr 2021 17:34:20 +0800 Message-Id: <1618306460-57286-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/watchdog/it87_wdt.c | 8 -------- 1 file changed, 8 deletions(-) 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) { -- 1.8.3.1