Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1180862rwb; Wed, 26 Jul 2023 08:40:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlF5paKg/Lnsc/kGGKutLYQt0wgHjKB1kRUy3VUO988mi2Fa0gPmJ4xFMosGeqKC6EuOc6MD X-Received: by 2002:a05:6a21:3b48:b0:133:656e:fe1e with SMTP id zy8-20020a056a213b4800b00133656efe1emr2084555pzb.47.1690386050758; Wed, 26 Jul 2023 08:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690386050; cv=none; d=google.com; s=arc-20160816; b=nlmtlGEp438AyoBxPOfq0jMJSz0KbSTXcieMXzNf4Wn7VQIGuCyLN439FaRelOOIMC y2O9Chy3Ux2vrI7/MUneYI8Vi6mAuLnZdyQWJhTz+rOqBvoZQlQYlBe7ncwmNMrV+BPt aVDcDm1WlnoRcD6gkYtGmAZjjeA6y9MIopGYZ9gRRjWQircK39c7B/7ct5HK6osGHbBz rtpn49mIH0KA+j4CGDgI9yCBo7wQmwgNd4xmfthrtV6X2NQAMGHTetvgVcHFK9VKecWn U/lXbTZzTcUcQ1oIrC4uuU2XgGtoNKtVgcsyobTIVJlhyo3tQt4T8/5ZXy2FlPMrkXqL zPuw== 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; bh=R0KFk2BPhDZ/lF7350QtzWESynZEDvuufg8lrT1zARk=; fh=+OUcYjUTrHkX2KGz7wEw+NnJ68SW6eiMiDRTkzSRlhY=; b=GtFYc5JuuOuEOtRctM+OisIDcRw8+GzAHaJW8YervvijKobON7lDYLHGkOk53pmpjA Fr7B66sxoWHLyWyiUWgUbc9jVlvMI1LtzO0lG8dfV4VCUK4yjZm+CRDq1Y0KLPvvoqyf QGkczAoVPkYaIfBiQhB74CTs+AKaQ3bXkRKzclureqW4ZU50XwUKNbuL+22LmTuWr+kZ JAA1XYkuT+po924RvDgqQrV1GBStZC4L+5UGTfQo6vh47NYbmx7BaNv2kuFw8QqQG0fN ZTouBp38jg/7vkdEOZZTIOM+rMl4KWAjcc6CC35SgnP3SYynLMiirFbseJ0jKq7+iii6 digw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i184-20020a6387c1000000b00563e21a5ecdsi1246460pge.596.2023.07.26.08.40.26; Wed, 26 Jul 2023 08:40:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231892AbjGZPNr (ORCPT + 99 others); Wed, 26 Jul 2023 11:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234883AbjGZPM5 (ORCPT ); Wed, 26 Jul 2023 11:12:57 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F9743C2F; Wed, 26 Jul 2023 08:12:12 -0700 (PDT) Received: from [141.14.220.45] (g45.guest.molgen.mpg.de [141.14.220.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 75E4361E5FE01; Wed, 26 Jul 2023 17:11:09 +0200 (CEST) Message-ID: <2cf9a03e-6d81-64cd-3cc2-0b989e5d5824@molgen.mpg.de> Date: Wed, 26 Jul 2023 17:11:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH net-next] Bluetooth: Remove unused declaration amp_read_loc_info() Content-Language: en-US To: yuehaibing@huawei.com Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230726142817.20504-1-yuehaibing@huawei.com> From: Paul Menzel In-Reply-To: <20230726142817.20504-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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-bluetooth@vger.kernel.org Dear YueHaibing, Thank you very much for your patch. Am 26.07.23 um 16:28 schrieb YueHaibing: > This is never used, so remove it. > > Signed-off-by: YueHaibing Should your name be spelled with a space: Yue Haibing? $ git config --global user.name "Yue Haibing" $ git commit --amend --author="Yue Haibing " > --- > net/bluetooth/amp.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/net/bluetooth/amp.h b/net/bluetooth/amp.h > index 832764dfbfb3..97c87abd129f 100644 > --- a/net/bluetooth/amp.h > +++ b/net/bluetooth/amp.h > @@ -28,7 +28,6 @@ struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, > > int phylink_gen_key(struct hci_conn *hcon, u8 *data, u8 *len, u8 *type); > > -void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr); Was it never implemented, or just forgotten to be removed? > void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle); > void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); > void amp_read_loc_assoc_final_data(struct hci_dev *hdev, Kind regards, Paul