Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4007153ioo; Wed, 25 May 2022 12:41:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI3XuGsUc3BmlK7ZcaUboKLt1/Cz5GPkQQ+HUH5XqesD1TdFRb+BpaLMBtUwMaLP64OwUR X-Received: by 2002:a17:906:9751:b0:6fe:ed24:ef48 with SMTP id o17-20020a170906975100b006feed24ef48mr13806158ejy.414.1653507692635; Wed, 25 May 2022 12:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653507692; cv=none; d=google.com; s=arc-20160816; b=vckhq6v9qa0KIkqh69QCPNpv+H43/Trcv77lpECeIhMZTHfmzVQ+6/v9RUtQnJzG7A 5/+ATW1sVwyFC04F+Os8l81GbpGI/P4sZHKHDvj9LmAdHXz5y1KodWpakSIzBAV4ISb4 9l2drDAE2cVYTgK5T+mqL/rEhxVMsoUNWaNc0P/uB+YjuxUS36797JTmUqpaOMF1AETc YjQlBxPN0S00UARiziYcIjkLFPqJoCHhmWuwju5nd6cHdBpP6hnT/9YfzIM/5dkVl4Us 8Aa61zsiOyxlf4fs7OSmFDdCzYFmPRGadQEJ9rrkJMiVuoTosjfFgsLPcy3S89VGkcxv /PkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=bWhbRfTKA+A7nepky+hT1G37pNi6g78g+2E/WMAY2Zk=; b=ecTFbd6FfzOhK+cpNz9Ve6gyhxDmCd1qgn+U5Gv5A0cjAKJWOfihqOoo6KrRu5dojY 4v3sB3gcRc7vLIvcScj8dc0U9RTxWOlrmqlTXGBexemOhcILsPBZj/QM2IGVufMjrv9H ryQi5JYHVHlJQxls8paSD1N2X3UNX8bXwpDSZ6sueil8xJxxBEam+MaZe/1Jch8ctZDZ moWQehhK1Vl5jzfb1wNmZEVOJlGFhzPClrcfdcBUZ8kxVKXPb2dGYQCmXxvKY/Rhpd1B pROmX5F807Nm73VWR79khLjAzW+PSOWb2eiYmcy7sjBpzZCnGkWSzovCaAuRy405ihxz WkSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=GDYRz4IF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a170906720500b006f3a346719dsi19216357ejk.689.2022.05.25.12.40.56; Wed, 25 May 2022 12:41:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=GDYRz4IF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235342AbiEYMSM (ORCPT + 99 others); Wed, 25 May 2022 08:18:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiEYMSL (ORCPT ); Wed, 25 May 2022 08:18:11 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CB0236318; Wed, 25 May 2022 05:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1653481072; bh=Vbm1SuMqsvu1xxnR71QHy05C7RZ8+ByUzJkNcUNCG2k=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=GDYRz4IFhZeVP1/SPpAim6g7Hj3ghkhZpboJyS3GLTb148pOf3n1n67EDxA9CYg9U P66YfR8/H8LRZNcPT0Oevh3SpjxdIqrRHtTfoCYjr+LisaHOG/ksKMJD1RGdI3yWoO HEZtDETxq2q0AbExORS22kxPNk+Fz2Of2XBwSq54= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.168.145]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MulqD-1ncAW43rT1-00rmvB; Wed, 25 May 2022 14:17:52 +0200 Message-ID: <10ce14c0-f502-4c26-3f7a-8f470822e6f3@gmx.de> Date: Wed, 25 May 2022 14:17:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH] xen: remove setting of 'transp' parameter Content-Language: en-US To: Tom Rix , tzimmermann@suse.de, javierm@redhat.com, boris.ostrovsky@oracle.com, jgross@suse.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220521195942.645048-1-trix@redhat.com> From: Helge Deller In-Reply-To: <20220521195942.645048-1-trix@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mlFct5aFdpB21j52ArLdUq5BZfKowCmBVVSbPpzviDYy2hrRcW4 vGyxCxF2WUhgakMM4uEpHs4e0x+fk40WnTG+BYLKGRO3TEzp9dGbDu52oFl76W9ly65wgDW 1iYVg+KrloxB/SpdLAaJXGyCYNlq1GsOSdEWKvuPlcr/xfq9r2h4AhK4yUKHXMDyocVbOwJ Rmuk978py+loL3+KkzBdw== X-UI-Out-Filterresults: notjunk:1;V03:K0:y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XcVxl9MPswaAI1SW0E6qa6OrCfjWRIm3PhWoSbrgAnEUetY3Ms7GG6brb3z rf0DmXZD0zqn44yboe1VkUd9xLQd2q7S+5tSnG5GRooTK4WmsrcRrY2BQ== X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/21/22 21:59, Tom Rix wrote: > cppcheck reports > [drivers/video/fbdev/xen-fbfront.c:226]: (style) Assignment of function = parameter has no effect outside the function. > > The value parameter 'transp' is not used, so setting it can be removed. > > Signed-off-by: Tom Rix applied to the fbdev tree. Thanks! Helge > --- > drivers/video/fbdev/xen-fbfront.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/video/fbdev/xen-fbfront.c b/drivers/video/fbdev/xen= -fbfront.c > index 3bed357a9870..4d2694d904aa 100644 > --- a/drivers/video/fbdev/xen-fbfront.c > +++ b/drivers/video/fbdev/xen-fbfront.c > @@ -223,7 +223,6 @@ static int xenfb_setcolreg(unsigned regno, unsigned = red, unsigned green, > red =3D CNVT_TOHW(red, info->var.red.length); > green =3D CNVT_TOHW(green, info->var.green.length); > blue =3D CNVT_TOHW(blue, info->var.blue.length); > - transp =3D CNVT_TOHW(transp, info->var.transp.length); > #undef CNVT_TOHW > > v =3D (red << info->var.red.offset) |