Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp79502imi; Thu, 21 Jul 2022 16:24:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v59DqiQiZ/Sca+umusC4GlfTuro9RdjJO9vGHHGsilB1Xsi2MZZt+Yo+FQltD/KomqU5N8 X-Received: by 2002:a17:90b:3698:b0:1f2:24a9:8a7 with SMTP id mj24-20020a17090b369800b001f224a908a7mr9794002pjb.129.1658445871597; Thu, 21 Jul 2022 16:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658445871; cv=none; d=google.com; s=arc-20160816; b=rw7cmKWdA5NuWluxv3LP0wlJWRLo7ZGtM+0jiyV4zLVa/ZXX+8yqm9tcOWK5XM+WhC XShUTzpREXvRrvbc5kxSSWZvvSnSlAedNQ+sZIX/6l9T0nryXP+svgwvgi2xL5W5Op9v Ck0syzlsCiV7C4O9fRSbuyqp1WFFZzNY2wes9Rvb3zMaZW7msDHvjO2kD//xYPD3NpMM yKbTm+PfCzMgsCRFkDto2tnmGYhxpDvbNX6WB3UYTZ/Q+8+Pq5B3JnRaBTqkBtmQ1m/W 1xtkanmm7hUM9/4LbrDHR2pnOoVregZ83fyFn7cPioWa0vC8vHhvvWHkFWp14FXfRb2c W7lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/k+HNxjRgRyZZLwokyCsHH0yb3Gg+rpJiTRcQVEkZUY=; b=q7nkanAKGODqVbINZ73/5CsHxm+7hPjr7DpG5jDbILqz2+WWktbxj8KlbqPes9P7Je UrGb6qI924cOB6grcninSZYqwOSVfJv9GkILnFYjA4wZ6xk5RMKaym5QCVyAMakmG9oP ng3mHm6+3QUtvF/lKl3d1ZrJbqi/9uKm1LqN8SiekkkECnjNUuHnjZOATZ+y65b8PTAK FFbjAXzX772kVUhlbG8Ty4QDDf7ge5UnSkLGnySLEoyau7gA+Zdt6ItRyiJtIIthPvGq 2/B9fzW2FAdVxz8ADNrS/pf7WlM1VQSocFI12ssreflfXDiEGgioC4IV8IiCSPGXKoSP K87w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jKZcuPDo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a170902c70200b0016c6337a4d1si3336870plp.509.2022.07.21.16.24.02; Thu, 21 Jul 2022 16:24:31 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=jKZcuPDo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232341AbiGUXWk (ORCPT + 99 others); Thu, 21 Jul 2022 19:22:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiGUXWk (ORCPT ); Thu, 21 Jul 2022 19:22:40 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B406F1D30F for ; Thu, 21 Jul 2022 16:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658445759; x=1689981759; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FsxsrY+rb+zDAhmSaKIpommxDF7vHsfNXHQaYSXvotg=; b=jKZcuPDo99CyaDLbUxLeFg20BFFVb6dr9JrfEdKZwgnmrnlCqau3P8d2 exl74+UqN+ryVhvhUFbOrROiRZyoWKzBLwMywHO2HMVJMgwJlOXyYmsgc 2sj+ZGjBNaCxrlL6e3cRBHpD2Af1DnmTuV5Nricc2+9KYNrN4U9ZewGdg 1Uft/xfY+F1QYCAgkCdVRNLb1fE1SnI+GXwiJR9h9zDrln+UjpKpXky/5 bxHkWCqC6UoImhZdvL7Vfmt5/ihhkq5v3pIXl8sje/VJbWurwWK2a7aJu T5Sm1mdD+V/ktoluVaiqjnj2SJ17AUgOu8GIf02/lBVMINjPip777wmz/ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="312912918" X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="312912918" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 16:22:39 -0700 X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="631363081" Received: from chialing-mobl.amr.corp.intel.com (HELO bgi1-mobl2.amr.corp.intel.com) ([10.213.171.1]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 16:22:38 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, luiz.dentz@gmail.com, brian.gix@intel.com Subject: [PATCH v2 0/3] Clean-up stale/unused hci_request.c code Date: Thu, 21 Jul 2022 16:22:22 -0700 Message-Id: <20220721232225.624426-1-brian.gix@intel.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 This will be a growing patch-set of conversions and dead-code removal towards the goal of retiring hci_request.c The patch sets will be split amoung the work queues and delayed work queues as initialized in hci_request_setup(), with the ultimate goal of eliminating hci_request.c entirely. v2: Rebase off of correct branch Brian Gix (3): Bluetooth: Remove dead code from hci_request.c Bluetooth: Remove update_scan hci_request dependancy Bluetooth: Convert delayed discov_off to hci_sync include/net/bluetooth/hci_core.h | 2 - include/net/bluetooth/hci_sync.h | 1 + net/bluetooth/hci_event.c | 4 +- net/bluetooth/hci_request.c | 393 ------------------------------- net/bluetooth/hci_request.h | 7 - net/bluetooth/hci_sync.c | 10 + net/bluetooth/mgmt.c | 41 +++- 7 files changed, 50 insertions(+), 408 deletions(-) -- 2.36.1