Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3490875rdh; Thu, 28 Sep 2023 13:16:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSasDQ6NYuQA61uvn3+i0YnKHQwIKJA6AGw6Sx6DDK/nGDNcLVnMIceJrcAQvehb6jmPIz X-Received: by 2002:a05:6830:6e0a:b0:6be:c1b:ded4 with SMTP id ec10-20020a0568306e0a00b006be0c1bded4mr2496438otb.3.1695932208702; Thu, 28 Sep 2023 13:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695932208; cv=none; d=google.com; s=arc-20160816; b=TQQ3tpKIBqN9Y9CLZ7flcz7s64UD1/iUFeo+BAfuCHYhagj782hV3XtqNvndHHjMCh c9mCeZ2ZFrLmzoYaIDebohjOTXPUDnOK7Dl6/WgxsfLwkIhjbX4IjJLyKXNHx+tZfx11 /P9OH81hovNbvvfAHZrg+wj2C32Zu4Omx0xa/U8stXa1IeBV3PkukeL7pMygaX3mfLjL EoJvssz3qQ2R7Ks20zVDooFyMjGm5qvAruvLE12S5THKZJY/qa9C4CrCLG3w+LZi2EOh SVhHwGJxvvwpfOvr2jkRne8nSAr8oCeEWauZNwHjdLig4nulLhEpfc8MHnMvlziVZ5YA Ko9A== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=PfcLBxqQve7MJ6XzHEZsc4t3QqnDlrmUCOhNfNdtDcY=; fh=4lGQI6056MBa4/oovMyIYaKLn+Wz/24RGvUivMmQP8E=; b=ozeIr7jvtNDvs1580BVdVRfDbeXOglujRKXKH4WBje1f1bhaQ3C48plhdWjjIl3/lS uv+0idyUuass4RwTP8yhX/m2nLoe9XyToxUyImhfH/PbOovSoY5PFHvInYOJ+6vRD+RP kPKev8l/UN2UrOoSwR8rnKF3aOw1U+bUYdPGczC+3DoR5wITL5aTPEW+V3XmuvSOLPSN NcY5vKDAmZ409hMHhfzj6Zff2JVjDdG2amzta9dg/HOpwfmUHLRRfX35OD9JfINBofqU gkwajd85dinYSv/olgmKFn+DB07lvae+rnWWQ3wcpU1QZEGu2KnpLEbBv16I3DS/Zn6U tsHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EM0sMXU8; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bz16-20020a056a02061000b00578bb93aa4fsi24107102pgb.730.2023.09.28.13.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:16:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EM0sMXU8; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 90B7D80BB239; Thu, 28 Sep 2023 12:13:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230320AbjI1TNz (ORCPT + 99 others); Thu, 28 Sep 2023 15:13:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjI1TNy (ORCPT ); Thu, 28 Sep 2023 15:13:54 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E07EA194 for ; Thu, 28 Sep 2023 12:13:52 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-3512b425662so34914925ab.0 for ; Thu, 28 Sep 2023 12:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695928431; x=1696533231; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PfcLBxqQve7MJ6XzHEZsc4t3QqnDlrmUCOhNfNdtDcY=; b=EM0sMXU8Yb4c2IFz29U23xyMb6eh4PXwxssC0SU7eyCM8OuRryaJ5DauUQ1rfq7TV1 e0zZm/1MN6G3NxVhtOoI2v9jfZezaFDKEz/9XV56VP/nRpz+Q2kz750T2ygFR2NDLWNI WHszKeoPKEy3wvkQnWoQf7/VTALpym7EwuxLcxMKWV6jBp5j1lLzYU+rniYknGWwHmN/ qVQ99k64zEF3nCbBxIBcj2QTo8774VoT9Xs4SE8MnXAv65crZP4EaRxvEIQgOxeavhBy kp2uUAoQi4PEl4mcbZ6RC5MMPRS5N0f1MRgGMZzITbPf43abVJdhv5A92Mgycms/gLlT 848A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695928431; x=1696533231; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PfcLBxqQve7MJ6XzHEZsc4t3QqnDlrmUCOhNfNdtDcY=; b=YzIr8X5bTtgyMz4DcJ7zMnweaqzoueQK+nmAFeWeX00Uvzr8+tlS0iatI2Ow9JM2G0 dQaJ8IZTxhl3QSZ8/aTqVbiWGf8KyrwpVLD/PstCVlq9jDAZiIGw9xLDiAU3jDcyS2Tb REhuWEpkK+TYmcY7rGqbraJtr+SWcZiTvqgB+7D+GEVK9FSWRyypX8iAPPE/KdNhTWT2 KojMjyqj9RbI6aJLguBF2B/4G7hXkn1WtYaz6ZSiBPWVfTas70/UArMuaPlyebJZEBSm 8jBX7qOvD3dcavbjDVw1vB0NGsb03bRHLA/U1uUObUlCDTKSCYTnyFD03yJr2zuvyzhx mJJA== X-Gm-Message-State: AOJu0Yzz1LMtgxo7nCvemgHYtBYhVdXVdVNOHwEe3bIUqQs/gSg3h2rO CCqISb+7uwnS7w3f1VNEyazidvWfPJY43pAT X-Received: by 2002:a05:6e02:152f:b0:34d:ee49:5114 with SMTP id i15-20020a056e02152f00b0034dee495114mr2064680ilu.23.1695928431469; Thu, 28 Sep 2023 12:13:51 -0700 (PDT) Received: from lvondent-mobl4.. (c-98-232-221-87.hsd1.or.comcast.net. [98.232.221.87]) by smtp.gmail.com with ESMTPSA id w16-20020a637b10000000b0057c44503835sm11643370pgc.65.2023.09.28.12.13.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 12:13:50 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 2/2] shared/csip: Remove bt_csip_add_db Date: Thu, 28 Sep 2023 12:13:47 -0700 Message-ID: <20230928191347.2086937-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928191347.2086937-1-luiz.dentz@gmail.com> References: <20230928191347.2086937-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 12:13:56 -0700 (PDT) From: Luiz Augusto von Dentz bt_csip_add_db is unused since csip plugin does use bt_csip_new to properly create the attributes for CSIS. --- src/shared/csip.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/shared/csip.c b/src/shared/csip.c index 7e90a3c97614..04a8d542b390 100644 --- a/src/shared/csip.c +++ b/src/shared/csip.c @@ -389,11 +389,6 @@ static struct bt_csip_db *csip_get_db(struct gatt_db *db) return csip_db_new(db); } -void bt_csip_add_db(struct gatt_db *db) -{ - csip_db_new(db); -} - bool bt_csip_set_debug(struct bt_csip *csip, bt_csip_debug_func_t func, void *user_data, bt_csip_destroy_func_t destroy) { -- 2.41.0