Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp11775pxj; Fri, 7 May 2021 02:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZNTVyPdy5v24NWFBXEX6PSTLOR7RvmZ1EaWggUasVO1aJ9ic6eSJGM5u2AaCmHgen4Fp5 X-Received: by 2002:a17:906:5acd:: with SMTP id x13mr8627530ejs.243.1620379880648; Fri, 07 May 2021 02:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620379880; cv=none; d=google.com; s=arc-20160816; b=k5Ko7JRF7uGZQBXxK+0EiVFbrjl4Nc86/UCGdocuD7ChDjLKPHCq+dzkZQDdOpFERd EhsXnkRzPaNw5NS7OO8Md/MOh8SDN5Q1OiiUR0+BHG8wye4emvbuThS6dTsfZm4GzWoy iZz0/6wQED2t9wPv/5rh0gUVO0waQ1HzXkOcFcBb4SyCmzNQydZTwd94ODqhxCI5SAaL BanhEldXQQvNgJbSLaWJ21JfAxI9T2RAmhprJXjt8g8KZJW+k2mWHWClFZhOlqik+5Bn RAd+oR5d/zn+AidCKzZS+YxdruAtgdtwnE47Lle5aMxLYikPBGReJx6rcYr5SuVX9XSv tnEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=PlwxlTD3TqXxz3L+AvIr47e+jOkL6RbDFeulGbxoHH8=; b=WrczJU9I4GGV0v+AJ3N/mYlI+a5tizQoIhIITz4pgZrm533pqegnw7N7C8kyDVg2eM Zm0dfk9oxvoXHNR5LS38eqe9BjpBda7SpijGtP9UmJsZzRTx5KvErEqR7x/QR2v1jOHX AvPbMR0JSkDP7BoqDB6fVLP6ZGLZGn9ISew4TYdstL4BnoQ54THX67ku1vY4EnGtr9QF cb4+JqQCCq5wDVAs85UYcSraYgdO3U3KnwpRjZWfQdlPa5hX3gEMRNbUUWERKiGN6/V4 4vHr8lw6C5KKQA/bMuKG8vreFhSTmr9Bopjf6dNb2TstF1xyvCRGUTJ9ixjtGUa2kjPE vVhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si3027953edq.472.2021.05.07.02.30.56; Fri, 07 May 2021 02:31:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236291AbhEGIde (ORCPT + 99 others); Fri, 7 May 2021 04:33:34 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:37904 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231675AbhEGIdc (ORCPT ); Fri, 7 May 2021 04:33:32 -0400 Received: from smtpclient.apple (p4fefc624.dip0.t-ipconnect.de [79.239.198.36]) by mail.holtmann.org (Postfix) with ESMTPSA id F05DECECDB; Fri, 7 May 2021 10:40:16 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: [PATCH] Bluetooth: 6lowpan: remove unused function From: Marcel Holtmann In-Reply-To: <1618476568-117243-1-git-send-email-jiapeng.chong@linux.alibaba.com> Date: Fri, 7 May 2021 10:32:26 +0200 Cc: Johan Hedberg , Luiz Augusto von Dentz , "David S. Miller" , kuba@kernel.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <3E023ED4-320B-4713-A9CF-A92FF4DE1065@holtmann.org> References: <1618476568-117243-1-git-send-email-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong X-Mailer: Apple Mail (2.3654.80.0.2.43) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiapeng, > Fix the following clang warning: > > net/bluetooth/6lowpan.c:913:20: warning: unused function 'bdaddr_type' > [-Wunused-function]. > > net/bluetooth/6lowpan.c:106:35: warning: unused function > 'peer_lookup_ba' [-Wunused-function]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > net/bluetooth/6lowpan.c | 36 ------------------------------------ > 1 file changed, 36 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel