From patchwork Mon Sep 11 20:03:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 112234 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4265595qgf; Mon, 11 Sep 2017 13:03:53 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4uIYsF1g6VjACNyIoO0twumo8o3Yri3VaBTwqWqQA4Bf2AhJhQIDcPwL+WjVnt2vxhBrKx X-Received: by 10.101.82.8 with SMTP id o8mr12465542pgp.261.1505160233430; Mon, 11 Sep 2017 13:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505160233; cv=none; d=google.com; s=arc-20160816; b=aNT9m8FxcYgTsx+OUKKVfTgu4LMXnZjkOTHr2c8X8HHgIPn5vltOC4NVU04CwC5lO5 a2AwxCF1g76dO3xeQ0m16CQYNrIdx6Gqd1DZRoaeis3njYiGowC6gwn2TzuO21qWydjw zKbm+ZasX5vrIcnrXSaRVAnZnJ6rS7l3ZcjkHEL984YU20P55p2GokVyPTVGqGIigwUb AOsw175ddi1rhESNCbTmCeRyXa0SxtR1UqT4uSn4YNiDRNcM0RZK1sJ/S4LjmXxOE6W3 LriPhrP5DB1oYXHkVtLz7N/qdrNfSLo0jzIWLDnaRjlaS4yE0qm25dyZYQcbprGJ41Mt ixRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=BezhA1vUFgmDdmgn+aKc5zHv/csdDKGh05x7egxYoTE=; b=gq/rt4ImGpQwiN2iDLZpxXiB6pqCtPEN2jjI7j6IXQiEACoydoesww2tP/LfhpDg2C e64o6dUj7iJ492hi6GS8Vj7nNxAUH/mK6kcXHbWsyw9QRmv9ab8JjJM4zaLZ/loFQ3Lx 6NvNAKqjPZGgYE8wldz+fQFkWTZcUm/7hEKGgwAWFM84T5B+7h14eDv+Icw5+nhXQ2f1 3uOMrTP99TP7r9ru2Zz+x4Ypr//xnCvNgI2JIZIc6fKj1Rf27JG21ZOvZ0Cnf9jCjI3c i6Zrj8bC3xfeZnOT+9mBaa+9XwQ+q5Ur9ozVFF/cNKpULuuqO4W+WLXNXMV2xawGRh/x XuZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si6717415pfi.209.2017.09.11.13.03.53; Mon, 11 Sep 2017 13:03:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751431AbdIKUDv (ORCPT + 26 others); Mon, 11 Sep 2017 16:03:51 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:62229 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbdIKUDu (ORCPT ); Mon, 11 Sep 2017 16:03:50 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0LfbRK-1d6af01iry-00pLuK; Mon, 11 Sep 2017 22:03:48 +0200 From: Arnd Bergmann To: Al Viro Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH] signal: remove unused variable Date: Mon, 11 Sep 2017 22:03:37 +0200 Message-Id: <20170911200347.3219238-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V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kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The get_compat_sigset() cleanup missed a variable that is now unused: kernel/signal.c: In function 'C_SYSC_rt_sigaction': kernel/signal.c:3443:19: error: unused variable 'mask' [-Werror=unused-variable] Fixes: 9b24ec57688a ("get_compat_sigset()") Signed-off-by: Arnd Bergmann --- kernel/signal.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 Acked-by: Christos Gkekas diff --git a/kernel/signal.c b/kernel/signal.c index 3198a7d2e5ff..36a523640894 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -3440,7 +3440,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, if (act) { compat_uptr_t handler; - compat_sigset_t mask; ret = get_user(handler, &act->sa_handler); new_ka.sa.sa_handler = compat_ptr(handler); #ifdef __ARCH_HAS_SA_RESTORER