Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1540174pxb; Wed, 4 Nov 2020 11:39:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnjXMWvv6E1IHrYNlMhtEsHZFlvG4LkpAm4QZck6oQun6gZWLUEVAXI55AdGLi2hHzvf5e X-Received: by 2002:a50:8245:: with SMTP id 63mr28944462edf.133.1604518784474; Wed, 04 Nov 2020 11:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518784; cv=none; d=google.com; s=arc-20160816; b=fZmTUpT7TsArMI/+kDhaDynBm5Ju1qCTbddAMqW2rFmoLtBFucAhV2V3AEuYoh5eC4 vvE+AameBVDP91G0KibIvq6JaLg6DfZPwWj7NdH4owlT+UeZkL3UeTY1LJBnfOcwdXKk vwHNdcsVDYp+77ZFEglOjAFhyCQt94y+knKTtI8RVy+pWVEXqC1T0WmFnhGD2mrK5BBH m8It4exsvWeczCdrcO1NYX5ckiPUodS8iqOlB6l86udJYtN2gHBQh3aoKFErFN6MZd9k GxQGdifP0v2Zj3p5jaHz52KsbheOmEPoN2Ks7rEfcTVCVpbdRBdXVP/bATd+nwxHfEeo IYiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4M+x+ojOX9/j0b18l2nyNSsTW7aGEnj4NPBfBMnktmA=; b=rLQDhllJiA/AN4fuL9id5A892TSyNf1v0uSVR+6tpLusKApLIrqSi4Mm+26JmK95vI UQdnkrqWguKsNguGkZGcNT0xsFlWtYf6AkkHFVqVlwenkS8Ah9ZldOEQXkbbncPjPCC0 1Rji5E00DY4tO67/lm5xiKa6r4YSqlIZ6wpRjwrJAXMK7/NPhxrNS5b8ZFu/zN5gB4/n j8GkzpJZy44VMgL6e3sny/iAMtiLBTMEyKKT6GOSoAuKn1bYn0IgpOn1lPSROOLpe8fG ckQsQ2hHpNNl6u5iWsvFDpWomPhmtWJV7MMh6xKOMTS8E72sC6kwsfwsC5DnSk9rAlZ3 7P5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQRD92Tc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf25si2050561ejb.54.2020.11.04.11.39.21; Wed, 04 Nov 2020 11:39:44 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=eQRD92Tc; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731791AbgKDTh1 (ORCPT + 99 others); Wed, 4 Nov 2020 14:37:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731537AbgKDTgl (ORCPT ); Wed, 4 Nov 2020 14:36:41 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9711C0613D3 for ; Wed, 4 Nov 2020 11:36:40 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id w1so23362662wrm.4 for ; Wed, 04 Nov 2020 11:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4M+x+ojOX9/j0b18l2nyNSsTW7aGEnj4NPBfBMnktmA=; b=eQRD92TcE8sbfMjX9CW3rHawxF8A0uvKnpoemHmQX4zwhDKACpuwZzch3j5/yy61W+ 30kDKwo06VOnTgfzpdaunqKZ4XX93HVT2xNyE4Ir3oE3heqtQp2WoasYQl9XNO4KwzBo WSSF1Bsx0hdqSgcqa3caySZIURrFp7+J3fU6JyBoGg/mhgVrrupUbMRTWr3FQvOYOxRt vnrZvyXVKvfcXeb7aVgCJSb8BbeShk4aWQ6K8LahM8LH5o/oRZrlSE0tpmOwUi1bDh9R lKAKncyS/Kg2kxVkhNee4o/lchfDGWnEV84vWfIpu3xj2renx8IUuEtRXauNU9Rp/FiM TIHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4M+x+ojOX9/j0b18l2nyNSsTW7aGEnj4NPBfBMnktmA=; b=MM0HmUm5wCElV1WvV+IhaXP/yxVHlEVjkajuV8qO911MlrFdHb4s5zNPWK9mUkT+6Q P7p2tRcf0Ht3k1ZRTZ+98/BEUGDM8kEhq3tNxPZqxzYl8EBC3d2AGEv4cvvQ19gV8MBI vNCpL5+uDpGgvrD4snrU4PjVQ18TlA0AVEQzMywQcOicW5zzI1I3Mp5F0K2dS/N19Dg2 HnTWS53ERDVbjORy2SRDy5tlb8mZPRCa1kfErMzOeKiptWqMj9+bfwKRdlvU2uhs8iUI o/W8Y7CUVDlGY8gCln8En1Q3zsLChQwKknNWpvrLBG9n/kzm8agKyFuR2Pv87v9hBJjA 0PUQ== X-Gm-Message-State: AOAM533GjJUXgZ+UZsUY+N/JJpGj8oLNwikAFvIjy7M8oZNMz2BtnkRF MlVsWV+o7o4NFBPIrBqT7Eb/5tNkH+zKBJ8R X-Received: by 2002:adf:f1cd:: with SMTP id z13mr33892322wro.197.1604518599514; Wed, 04 Nov 2020 11:36:39 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , paulkf@microgate.com Subject: [PATCH 27/36] tty: synclinkmp: Mark never checked 'readval' as __always_unused Date: Wed, 4 Nov 2020 19:35:40 +0000 Message-Id: <20201104193549.4026187-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/tty/synclinkmp.c: In function ‘init_adapter’: drivers/tty/synclinkmp.c:5167:6: warning: variable ‘readval’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: paulkf@microgate.com Signed-off-by: Lee Jones --- drivers/tty/synclinkmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index 0ca738f61a35b..75f494bfdcbed 100644 --- a/drivers/tty/synclinkmp.c +++ b/drivers/tty/synclinkmp.c @@ -5165,7 +5165,7 @@ static bool init_adapter(SLMP_INFO *info) /* Set BIT30 of Local Control Reg 0x50 to reset SCA */ volatile u32 *MiscCtrl = (u32 *)(info->lcr_base + 0x50); - u32 readval; + u32 __always_unused readval; info->misc_ctrl_value |= BIT30; *MiscCtrl = info->misc_ctrl_value; -- 2.25.1