Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp59859imi; Thu, 21 Jul 2022 15:59:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vPKFFjoC3AIOza8X+rSdIp3ietVL+a8JO2/U3F7oEsABvuJ1gdIGYYCyWzKGRQ/hgohQqF X-Received: by 2002:a17:907:94ce:b0:72f:2cfa:b7b7 with SMTP id dn14-20020a17090794ce00b0072f2cfab7b7mr688738ejc.630.1658444388527; Thu, 21 Jul 2022 15:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658444388; cv=none; d=google.com; s=arc-20160816; b=pWJIDYmzNvhqsq2QAnlzZNUPRzGXVDn6oxLrgocuGSosdbHsl+RsDccaMaXuJf0LiO VCav0w0kJ/4bN0m4QBpOcZBJPPdALRo7oozm77v3KbyR3tQG5eDI++v3iRXCSh20HY7B y6Bowa2IMpwFTP2ZpyjvIUMaWnFdGTbSVJSXAO1alDMeaxoKS2dVnnfCp2Y4vzeJ3z3R /BStjd46k1AWbsoff2j5XKo+t5GosesrnIZhvhVsQANeahNI/NjBgNpWWzFN4T92DcsP WHI9V6/k1R0tNRNomDfkwQHVKAQT9bSuDwCCz0sMqvj+oDONPrOa32YVgv73yF2XmHwW 3RJA== 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=N83WggouvKPIH2j7P8W7WfE+T9Byqa1yHpMs2iulnhs=; b=HnxzqaDNPDjUZLP/+pcBCN8vF6bh0wK50Bz4ps+exu+vOkaHa6xZ9IhE56H58dOHFR JVDQcSHcHuVIMLS3QAWyQIM62evDtPH+RITZgLGlRcM/lIiD+lCqsqkXXZQ2DFZVQ/bm Ow50/365QXnsd/uZWyLKIcdbixyIAxgNyhmqJn0rAhidlVjDxGZ24+6OnNUaHvWmOAWS 5PVBpoWUrKwcM62/uw5/Qb3bKPNeOPKCgUH9WdD61kEC+O6zCKjI1s6DlcVjj1NAnock X5njXetwRUvmas1kPhqHbbIHfDYn8QhT5t43pNIdzOXZysTPgMylQ8OZRvgzR5xQ/NcR sy2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=g8RuOVNT; 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 v15-20020a17090606cf00b0072f473358besi3087820ejb.730.2022.07.21.15.59.14; Thu, 21 Jul 2022 15:59:48 -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=g8RuOVNT; 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 S229739AbiGUW5i (ORCPT + 99 others); Thu, 21 Jul 2022 18:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbiGUW5h (ORCPT ); Thu, 21 Jul 2022 18:57:37 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0003B8E1CB for ; Thu, 21 Jul 2022 15:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658444256; x=1689980256; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hb2NETRlY/gn+OAuwfTxe9wo8mRHnSuPh/wskJ4/mj0=; b=g8RuOVNTm+S5b4731m+1hcLTd0/dusBJmXBPq3tDuvslzqiM1Lz4r/s/ aId1uXy7LYmJFGblHLzCW3aDGZZM9vPP3ZozI5pgQ9BstBvT3EZ7YW0Sz BsKf8oph2CyBTzxS1JTFoVN3hq1Ms/SS5NKgUQboOHVpcz05Igf7czqLa W6NWEBLZMVv8z8lvceB4sFcWY+HWMLgUbyKNuSPNplu1P7i3wry0b1Lk5 uTRyeAYGep9O1k/NFu+MmRgqtD+wzAt7NunbdHLW2chrZIjtbgcxXeFt/ mvO/zv9z/eVnuGh36+aDUmP3q/ojOMEETmDrUD98quvvPnTRzOz/OVLM+ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="267586479" X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="267586479" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 15:57:18 -0700 X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="548961958" Received: from chialing-mobl.amr.corp.intel.com (HELO bgi1-mobl2.amr.corp.intel.com) ([10.213.171.1]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 15:57:18 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, luiz.dentz@gmail.com, brian.gix@intel.com Subject: [PATCH 0/3] Clean-up stale/unused hci_request.c code Date: Thu, 21 Jul 2022 15:57:02 -0700 Message-Id: <20220721225705.602002-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=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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. 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 | 417 ------------------------------- net/bluetooth/hci_request.h | 7 - net/bluetooth/hci_sync.c | 10 + net/bluetooth/mgmt.c | 40 ++- 7 files changed, 49 insertions(+), 432 deletions(-) -- 2.36.1