Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp733441ybi; Fri, 26 Jul 2019 18:44:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB4C8FussWIMwTvO+7kfRjTaNpPDvaqo3Q3J3B76AyihPuhZ3AtxIloavAb7CTzVfEKb/Z X-Received: by 2002:a17:902:be12:: with SMTP id r18mr94355633pls.341.1564191887789; Fri, 26 Jul 2019 18:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564191887; cv=none; d=google.com; s=arc-20160816; b=G6vhEgT54HCyLuVDKMfRZR1AI8K5um08uduMFMpoVZHT3eU9nhoDy24rYdXl3Rhmm/ RxgXBFO90O7MqOFKqCmA8ofaGDarjEG0jFah+F+Cz+eq6eaUBAg5NRbs8lJ2WrxtfCgm hmqXy25EAYf0jKbP22FSFkBIG9QhkK6PlScdWwHJwlOA7yumBW3+VdoRpgiBCEMTMrHW PDWnQFnoblXIvUhwPtZaKmMrw9JSJo3Tq9gUXI+Oc1AsOVUfhWhcQi8+z9YRwc4LCU6o IrwXg+hL4KRKZdx4EHYTswSPszzgYsvLad5Xqcv8ep5aAyl4QcE7MMfcK7wEcXooUz0o ZvvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=6ksMhOFjNS9Xw2SVcZPrZx7JvPDlQ2BQIfx2bTbw9H0=; b=fdgOBRMYOYQaAv33Fantp7zUAkGxLz5pI2b88gYwl2I5tmb9AkltyZtaWBtZeDQIYK EGSKBRV80Kz0pueZO29+p5KYILtXJKfhz90y4aNnYOpbPSYblCA+C8QHgATLB3hNc0qq uogXzm5u/e/yJ6iU29hU6ta+Lmk5zPzNmE9pjQ4bqvMJL2K+nvMopP1cL6OtsSTR2ly/ vZAbsy5DZpHT7DzFq5C0C0UGN5Pavka06hjb+6ZoANePpzFGKvixCxuFkgE0gwb9Yjic waknCOeOm+F93Ha4+3nSLCHxuj0RBufGzfVsFVHEqrnobUjdJh4Oo5dBjxzUkweOnJve wQkw== 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 k21si20572597pls.202.2019.07.26.18.44.32; Fri, 26 Jul 2019 18:44:47 -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 S1728533AbfG0Bde (ORCPT + 99 others); Fri, 26 Jul 2019 21:33:34 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:37524 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726571AbfG0Bdd (ORCPT ); Fri, 26 Jul 2019 21:33:33 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 20E38F91DBEA4105D4E7; Sat, 27 Jul 2019 09:33:31 +0800 (CST) Received: from [127.0.0.1] (10.133.213.239) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Sat, 27 Jul 2019 09:33:29 +0800 Subject: Re: [PATCH v2 -next] staging: vc04_services: fix used-but-set-variable warning To: Stefan Wahren , , , , References: <20190725142716.49276-1-yuehaibing@huawei.com> <20190726092621.27972-1-yuehaibing@huawei.com> <229b2d16-9623-6005-2e1b-4d1f239643a2@gmx.net> CC: , , , , From: Yuehaibing Message-ID: <25f56fd6-17b7-a8aa-6a51-97677eb8785f@huawei.com> Date: Sat, 27 Jul 2019 09:33:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <229b2d16-9623-6005-2e1b-4d1f239643a2@gmx.net> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/7/26 23:57, Stefan Wahren wrote: > 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" Oh, yes, thanks! > > 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 >> --- > > . >