From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50086C433E0 for ; Thu, 4 Feb 2021 12:57:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF88764F53 for ; Thu, 4 Feb 2021 12:57:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236198AbhBDM5c convert rfc822-to-8bit (ORCPT ); Thu, 4 Feb 2021 07:57:32 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:48590 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235605AbhBDM53 (ORCPT ); Thu, 4 Feb 2021 07:57:29 -0500 Received: from marcel-macbook.holtmann.net (p4fefcdd8.dip0.t-ipconnect.de [79.239.205.216]) by mail.holtmann.org (Postfix) with ESMTPSA id 5204ECED16; Thu, 4 Feb 2021 14:04:13 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: [PATCH] Bluetooth: btusb: remove set but not used variable in btusb_mtk_setup_firmware_79xx From: Marcel Holtmann In-Reply-To: <20210204011856.3685334-1-yebin10@huawei.com> Date: Thu, 4 Feb 2021 13:56:45 +0100 Cc: Johan Hedberg , Luiz Augusto von Dentz , Matthias Brugger , Bluetooth Kernel Mailing List , LKML , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hulk Robot Content-Transfer-Encoding: 8BIT Message-Id: References: <20210204011856.3685334-1-yebin10@huawei.com> To: Ye Bin X-Mailer: Apple Mail (2.3654.40.0.2.32) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ye, > Fix follow warning: > drivers/bluetooth/btusb.c:3479:9: warning: variable ‘fw_size’ set but not used [-Wunused-but-set-variable] > size_t fw_size; > ^~~~~~~ > drivers/bluetooth/btusb.c:3473:29: warning: variable ‘patchhdr’ set but not used [-Wunused-but-set-variable] > struct btmtk_patch_header *patchhdr = NULL; > ^~~~~~~~ > > Reported-by: Hulk Robot > Signed-off-by: Ye Bin > --- > drivers/bluetooth/btusb.c | 4 ---- > 1 file changed, 4 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel