Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp132363ybg; Mon, 8 Jun 2020 18:34:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4OlQi2x+8vHs8wFR/24tim8QPdFllxFaQy/M9C0ivbUJV2dqTpmFZ+mhSKnExVScG5ADx X-Received: by 2002:a17:907:441c:: with SMTP id om20mr22284978ejb.62.1591666461186; Mon, 08 Jun 2020 18:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591666461; cv=none; d=google.com; s=arc-20160816; b=KQFl2hnA8RaYmM1LK7k1EUIfymDPxN0FiJWer+SjOayoDJOeG7NoA47RJSioRLiose Xw8FgpwjtBsmxZ4parwvlI8RWkr+MhgV4wFUvNbJNF9AklbojLA8vhrNiFNPph2tknGs wu5oiq5YutYe9YZM1bBDdU8E6VapdDWLX/1a8bYS/+FdZNZ0s8bKKmITmh2fQ3hWEbSi QW7oy3Gy69SxvRKNY73meI6Au94/WM5hIBJwu+ycIPBrRz9/LjWAm0685th4aRvzaQhh B2rENj50Y56n3AIEIk9MZ/m+2pR6Ah/D7NuMJff9FhB21odDGTNTxKIAAx32w4jPWB8y uwzA== 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 :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=TuWMhzXo+EtM6zNaQgeUrj1nOdC6P7MgCXD0ZsW7ZGk=; b=jVVspyI8k6jowgt8LQFBN905iniQAKyoph2ZwbuyYzbguemMB7uRMrbO51skVNGqu4 zh6ThaDobqT6ZWRED3iHbDz3akNjdL+12QhBAsYcBhEQcnKP2amA4MMX0ujjERZmj/un n9HsRFLm4rJGOW32tT4h32cConOu5YhzyMTrCTod7zJ7mkdMnP2dBLk7Ga507lRk/n+0 QCTtlQ1JOQ/Uif7VAKM9J+83kbBnCpwCck//yHP/Xu0/89kTDMdJ5b7hwv1Vc0BkqWvM lyhCPU0koM3mAdilSTJMiVOtjQzOZE2WlVeuGn9cFR1HGOtVBTZq2BoV80kWqIFMjL1M Pd2g== 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 z3si9790856eda.578.2020.06.08.18.33.41; Mon, 08 Jun 2020 18:34:21 -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 S1726848AbgFIBdc (ORCPT + 99 others); Mon, 8 Jun 2020 21:33:32 -0400 Received: from mga07.intel.com ([134.134.136.100]:26321 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbgFIBdb (ORCPT ); Mon, 8 Jun 2020 21:33:31 -0400 IronPort-SDR: 0zAto5SkUwtc37m5gXMWC+KBMMbxMQV87tR/D98zDcVK4xRERnoWx8lSoQvolG2ULa1ggdfh3U XLZrnnvqcpFw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2020 18:33:31 -0700 IronPort-SDR: uN5KGo77NtrNl+Q/0EkntBQVCfrIm3QqmWwO0XojNajnBk4XJGeRJjT7zR+vMmnRQM8TcXcvjo fUrqBdnaPSbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,490,1583222400"; d="scan'208";a="274431346" Received: from vrsuryad-mobl1.amr.corp.intel.com (HELO ingas-nuc1.sea.intel.com) ([10.255.228.38]) by orsmga006.jf.intel.com with ESMTP; 08 Jun 2020 18:33:31 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ] mesh: Delete unused function Date: Mon, 8 Jun 2020 18:33:25 -0700 Message-Id: <20200609013325.42467-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 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