From patchwork Tue Sep 28 19:56:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mianhan Liu X-Patchwork-Id: 12523795 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A193C433F5 for ; Tue, 28 Sep 2021 20:12:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 816CF60F58 for ; Tue, 28 Sep 2021 20:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242705AbhI1UOT convert rfc822-to-8bit (ORCPT ); Tue, 28 Sep 2021 16:14:19 -0400 Received: from mail.shanghaitech.edu.cn ([119.78.254.11]:64048 "EHLO mail.shanghaitech.edu.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232756AbhI1UOT (ORCPT ); Tue, 28 Sep 2021 16:14:19 -0400 Received: from [10.15.44.215] by mail.shanghaitech.edu.cn with MESSAGESEC ESMTP id 480409496331105; Wed, 29 Sep 2021 03:57:08 +0800 (CST) Received: from DESKTOP-FOJ6ELG.localdomain (10.15.44.220) by smtp.shanghaitech.edu.cn (10.15.44.215) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 29 Sep 2021 03:57:08 +0800 From: Mianhan Liu To: Andy Gross , Bjorn Andersson , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz CC: , , , Mianhan Liu Subject: [PATCH] ./drivers/bluetooth/btqcomsmd.c: remove superfluous header files from btqcomsmd.c Date: Wed, 29 Sep 2021 03:56:59 +0800 Message-ID: <20210928195659.18645-1-liumh1@shanghaitech.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.15.44.220] Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org btqcomsmd.c hasn't use any macro or function declared in btqca.h, linux/of.h and linux/slab.h. Thus, these files can be removed from btqcomsmd.c safely without affecting the compilation of the ./drivers/bluetooth module --- drivers/bluetooth/btqcomsmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/bluetooth/btqcomsmd.c b/drivers/bluetooth/btqcomsmd.c index 2acb719e5..0fcb423c4 100644 --- a/drivers/bluetooth/btqcomsmd.c +++ b/drivers/bluetooth/btqcomsmd.c @@ -5,9 +5,7 @@ */ #include -#include #include -#include #include #include @@ -15,7 +13,6 @@ #include #include -#include "btqca.h" struct btqcomsmd { struct hci_dev *hdev;