Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751070AbdLZKqY (ORCPT ); Tue, 26 Dec 2017 05:46:24 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:45642 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbdLZKqV (ORCPT ); Tue, 26 Dec 2017 05:46:21 -0500 X-Google-Smtp-Source: ACJfBovjl7Uvf8pVKdvcf+Z5UDJNsPz3ao+Sr0rZt9NuB4qaH/n/EFEAOBqyVV1h044jBB0lAd30Kw== From: Mathieu Malaterre To: Aleksandar Markovic Cc: Mathieu Malaterre , Ralf Baechle , Miodrag Dinic , Goran Ferenc , James Hogan , Douglas Leung , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] MIPS: math-emu: Declare ys variable as possibly unused Date: Tue, 26 Dec 2017 11:45:51 +0100 Message-Id: <20171226104554.19612-2-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171226104554.19612-1-malat@debian.org> References: <20171226104554.19612-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1022 Lines: 30 Fix non-fatal warning: arch/mips/math-emu/sp_fdp.c: In function ‘ieee754sp_fdp’: arch/mips/math-emu/ieee754int.h:60:31: warning: variable ‘ys’ set but not used [-Wunused-but-set-variable] unsigned int ym; int ye; int ys; int yc ^ arch/mips/math-emu/sp_fdp.c:37:2: note: in expansion of macro ‘COMPYSP’ COMPYSP; ^~~~~~~ Signed-off-by: Mathieu Malaterre --- arch/mips/math-emu/ieee754int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h index 06ac0e2ac7ac..cb8f04cd24bf 100644 --- a/arch/mips/math-emu/ieee754int.h +++ b/arch/mips/math-emu/ieee754int.h @@ -57,7 +57,7 @@ static inline int ieee754_class_nan(int xc) unsigned int xm; int xe; int xs __maybe_unused; int xc #define COMPYSP \ - unsigned int ym; int ye; int ys; int yc + unsigned int ym; int ye; int ys __maybe_unused; int yc #define COMPZSP \ unsigned int zm; int ze; int zs; int zc -- 2.11.0