Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp670253ybg; Wed, 10 Jun 2020 10:29:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfatvuBj/dxlheW3OmyLWHBzkwi8ySfiQGL8UsZGrzRISnCImPVBxjfVtxHDqr4/td/Oju X-Received: by 2002:a17:906:7848:: with SMTP id p8mr4691236ejm.244.1591810166495; Wed, 10 Jun 2020 10:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591810166; cv=none; d=google.com; s=arc-20160816; b=rCrxAoaoEmz3pYPrZ7nmaXnjXGPbFrv9u+mL3l3Wr1untxOrKho0/HR+C3F6mZ/qXL m8wT/zQiAU6mf/5EfdA9MWiKeGx1uUiFWcQ4L8VFi6gpYnHNO4XHSIwAMJUjDRUm3OXw m2q4FiFR6fpg/PS2ftCKL5yqdzkEEANom1QzJsXugPhNThIEfwCIJJ68Sy5QUKXe+vA/ lyv9iDMEOgtY+MU4wLoR+fLayJXbfdteslAw5zawSgsO9T5a0WYcLrC2A9L+rSyVJ7lq JlFpYIOey7f3hwTcu8XYTlWNCYhx+HxuwGa50CfYS2L0B2nKC1WuD3qkghEn7XIz75+Q OBFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=TuWMhzXo+EtM6zNaQgeUrj1nOdC6P7MgCXD0ZsW7ZGk=; b=hn7+zDMjzckOiB4Q3tjhKpxSiVdW8RVX4Dg64YQlg7X0bE90cVTrs5xX2tphC/5Rj8 gxK/GwQ4bZKKbCTdnurDqgJrXiDnpV6TlfzSRm95Rj7dQwyhczLuZ/rrJmXhPkYXUkOe +IQVe+1WVl46/lJbn++D/7rowj2gaSjegB9/9nO1ho6QyCCRf8Xet8HHKB7YHRnFG3mo 5a8RPDDp/q4Ns1s/rrIam/AV6ZxaF90gqM3WYcZmMrCfp5ZkdBC3lR5XJY6XHCNmredv /faFVWbJiVznGFyIQC9xdkyc0IhIRY0EVHwQNk4rLp2f+uHWoT7DByWr5Pykl4UyNelJ GLPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si357328eju.694.2020.06.10.10.29.01; Wed, 10 Jun 2020 10:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729340AbgFJRLZ (ORCPT + 99 others); Wed, 10 Jun 2020 13:11:25 -0400 Received: from mga07.intel.com ([134.134.136.100]:8721 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728336AbgFJRLZ (ORCPT ); Wed, 10 Jun 2020 13:11:25 -0400 IronPort-SDR: r21OQpim6oAdAs3Nr2hNDTJ8GZM8dmWq9NDpc5QLQsUWBy2umvjs2DLE9+iIQBVEffmTXgFJYt vvreAO8KE7DQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2020 10:11:23 -0700 IronPort-SDR: viRrnd2uNKODHgkTOIAhImwEP8n3PvNoZ5N6NqfFUYBheml73SGjg8ugo6x6/5Q+DMRRZN4ylA mEY6uGenEyog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,496,1583222400"; d="scan'208";a="259340080" Received: from unknown (HELO ingas-nuc1.sea.intel.com) ([10.254.72.48]) by fmsmga007.fm.intel.com with ESMTP; 10 Jun 2020 10:11:23 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ v3 1/5] mesh: Delete unused function Date: Wed, 10 Jun 2020 10:11:17 -0700 Message-Id: <20200610171121.46910-2-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200610171121.46910-1-inga.stotland@intel.com> References: <20200610171121.46910-1-inga.stotland@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This deletes unused function node_is_provisioned() --- mesh/node.c | 5 ----- mesh/node.h | 1 - 2 files changed, 6 deletions(-) diff --git a/mesh/node.c b/mesh/node.c index db888d27c..d1d4da23d 100644 --- a/mesh/node.c +++ b/mesh/node.c @@ -598,11 +598,6 @@ bool node_is_provisioner(struct mesh_node *node) return node->provisioner; } -bool node_is_provisioned(struct mesh_node *node) -{ - return (!IS_UNASSIGNED(node->primary)); -} - void node_app_key_delete(struct mesh_node *node, uint16_t net_idx, uint16_t app_idx) { diff --git a/mesh/node.h b/mesh/node.h index 290681e28..e26d410c8 100644 --- a/mesh/node.h +++ b/mesh/node.h @@ -39,7 +39,6 @@ struct mesh_node *node_find_by_addr(uint16_t addr); struct mesh_node *node_find_by_uuid(uint8_t uuid[16]); struct mesh_node *node_find_by_token(uint64_t token); bool node_is_provisioner(struct mesh_node *node); -bool node_is_provisioned(struct mesh_node *node); void node_app_key_delete(struct mesh_node *node, uint16_t net_idx, uint16_t app_idx); uint16_t node_get_primary(struct mesh_node *node); -- 2.26.2