Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp572981ybi; Fri, 26 Jul 2019 15:06:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsrGUjJV5bDYOScFcw1fCSKOMuwKdFcwjjYWFLhYOXqZOmCo5R0wAjeKZd1/29+s/iPvcP X-Received: by 2002:a17:90a:cb87:: with SMTP id a7mr103362291pju.130.1564178812342; Fri, 26 Jul 2019 15:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564178812; cv=none; d=google.com; s=arc-20160816; b=hSfLf9+AyhFsR2Q2cHDktV6/IThORIp2sbaejHB/eDogDhnzO8E0EbW6wgvFLwDGxY azE/zJE0zfvfPN7ywf5FoepslZxpy0VlOr9kiatSvp+6WG+ZznCOW/yyrGkJsZTcY0HD iDChAGDbEt46uzeQeQ7xqX03MOiCEIAeT860c2qfeMeHXXXuW901Ja791u28C57tLc4l M47W7HOuqL7NaIt7HOZfOzHOu0TaBCoYNwIZ7kEpehVWKs1wC2/mDVHT3QAvY9wOZ46u 7aFCtSzq0vxOAI/ZkOET8BArxP0K33f3Dy3mINQ1g7EAH666D8z/qxX+ewLdhKwEJR1Z Ogwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=68RWT46DAo+ypBe0aAtwuouFG5FlhjxuOg/kKtpxBFQ=; b=DXVaHBbO6UuuViAuqnsrnKReq14LNTaDVjQQmGdabL76dm5mvxdqOmFpllqEk8F5fP TMoPWjdqUS+AnXOWsdgn1g9dayoUjjsWU/WaEYweRtFMQ2Q/gfQn2iX9C3AjqJrsCrs8 p/UM3Q5XRsMObaecbaHiMDGg5Hpq1NzQH1nGMl33KUIDWVqcEd9Z1XTrBrCU6BSc/hWd jGdx7203CU418tsuLSv6GwmrcuEm42cL/6B8ysF8K+3AghxtO3zvQcr8593GtC7eS+4/ 1SllIDaEjShvIBIno2eChB0s2tGl03uSahpT5REsGhe7Mks4eSs02q+jYQ6VbR1N7lRO 2Y6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=btwBiIdp; 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 g7si17931019plp.171.2019.07.26.15.06.25; Fri, 26 Jul 2019 15:06:52 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=btwBiIdp; 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 S1726761AbfGZP6F (ORCPT + 99 others); Fri, 26 Jul 2019 11:58:05 -0400 Received: from mout.gmx.net ([212.227.15.15]:59389 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbfGZP6F (ORCPT ); Fri, 26 Jul 2019 11:58:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564156653; bh=qQMv8Gq4VWw3O9pfd3Hcs8DunZMxg+zrMDk3d/xK/Ig=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=btwBiIdpDEYqjFNOFAQZfoI6LC6YCv7SMbakhPOWf43dVDwnvKQzwlTnVN3J2Eg7w Vp0xsYm8cr9OECam+mOvuzsqjJb2YxPA4Vpy/ZlXnc6yiWqb5zZWS8zg0NpgIy81xy sVq+tHzpofGTGHvTwUZa9eVve65y/rltKpJEZlVA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.127]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MS3mz-1hwrCA3God-00TRbQ; Fri, 26 Jul 2019 17:57:33 +0200 Subject: Re: [PATCH v2 -next] staging: vc04_services: fix used-but-set-variable warning To: YueHaibing , eric@anholt.net, gregkh@linuxfoundation.org, inf.braun@fau.de, nishkadg.linux@gmail.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20190725142716.49276-1-yuehaibing@huawei.com> <20190726092621.27972-1-yuehaibing@huawei.com> From: Stefan Wahren Message-ID: <229b2d16-9623-6005-2e1b-4d1f239643a2@gmx.net> Date: Fri, 26 Jul 2019 17:57:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190726092621.27972-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:a2QhRZDV76cNOnjxUp2kDO8bbHN+pQ+5quVTlxjJKZaXVZ8NaaZ jaLLWxgnA8kgLJwLh5hRmDmyoaB+0mL5oxcM9ioK+We71b9cPSxIo4RfJjsnDQ5LiM+DRrd cEqT6ewd45gEwSuo7F/WosYaSPOtL6R8nN6o65GqjcroVOpVPwZZb1gqtbFzfnDUOlpZDtC P19ql6muElPiWevB/OJ5g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5yPF2OLnToQ=:YON+oYprlbkfGhoC6RuoYj nz07pRF4vW8w4G0wmk9aqybt7RDI33cerMdwgmokxtMhpRSoTyhDRe/0xputZ3tPGHqgzNvnP 3Hj+ksOssb1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ing-List: linux-kernel@vger.kernel.org Hi Yue, Am 26.07.19 um 11:26 schrieb YueHaibing: > Fix gcc used-but-set-variable warning: just a nit. It is call "unused-but-set-variable" Acked-by: Stefan Wahren > > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function vchiq_release_internal: > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:2827:16: warning: > variable local_entity_uc set but not used [-Wunused-but-set-variable] > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:2827:6: warning: > variable local_uc set but not used [-Wunused-but-set-variable] > > Remove the unused variables 'local_entity_uc' and 'local_uc' > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > ---