Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1857590ybk; Thu, 21 May 2020 17:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRbarVIms4ZBNrHLlXQQHFhVMbBK+Q6LU6JlbvlGiPYQGTFqV6CD1mhkFWByjoeRNleXsw X-Received: by 2002:a50:eacb:: with SMTP id u11mr1092641edp.162.1590107749800; Thu, 21 May 2020 17:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590107749; cv=none; d=google.com; s=arc-20160816; b=hNxTDLpkd+C/0ejZlu/76bZNYHsmtoS5liDYKxupwpjUt26q0O36nGQP+EiO0dywCN KLZk2BJYzAUU8AHxUWiNfCSGwVOFNJuR+JRY0zav19ps3eQuU7U8eCaFK3s7LmkBr4CH lOS7cU+rjZLYgp94BJDZ1TKr2vY5Hed1wO2LaC2VDayfAq83uN7gI0cO6NXjQ2Gi4M/f kOqw4ZOFKjCp9DI265WgUKU0mP9QcXVjCJqU4HilB2hiYysobCuVkIQwa9W/VtoCqUVU expxDmMkjgZUUZWGLyEQOeRf/qqcg/wPo5CU/TaYMWKNeecRW7YwqLFQsW8Ot1O0WBty Mrsw== 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=RsHhmtwmuTtvzues0XhMcnbXNq61U0LdaiFfd71/eiA=; b=DxhsIL4yj+Sp0YK7utbgOLqlkZkKcDyoRli3YkmSH1cy2P+1xmzICRcmCSoPbU5GKt FhHups8473FYIEfmPU2ayR5++wetPGdWStPO3jtW1Tr+t8CCOXaX8dxNWwIJ7T4IuvpK JMu8+qda/KsjOg92Z5lD3/7fm/guuDbibqzpT9pnk+scAlZNEZYxUCnTnQKWfvx8UhUR FOfZwSEAWPvrSIPUcp61N3bcTUrIxuxlc2BvGUjP8lsCJfueAi3FSF54ZNqsaI06hHcq QsDbCvoQL/pLSgQej9ixFI7TTDRm9yVoea9YaHS+/8KPLxfaFA1F3Um7rZnO72fQ2Yu6 qFZg== 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 u20si4072297ejg.680.2020.05.21.17.35.11; Thu, 21 May 2020 17:35:49 -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 S1726899AbgEVAfD (ORCPT + 99 others); Thu, 21 May 2020 20:35:03 -0400 Received: from mga14.intel.com ([192.55.52.115]:55682 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbgEVAfD (ORCPT ); Thu, 21 May 2020 20:35:03 -0400 IronPort-SDR: yPXY+8c9kkUgVoaAOj7CU9zP17cLG+ImcCowIkV7biDfThuXB/092ngaXdF3Iq10mywmJQn/jt hloTlZLpGGoQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 17:35:03 -0700 IronPort-SDR: JmqM9Y3OvkBxK2dWKIHxHnTlvAhjFwwu1xH2+IVs470zE4Xlwsn1a6Z+zCGBKI+p8dPWg2xFGl pz1h2h5x6hig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,419,1583222400"; d="scan'208";a="300961654" Received: from nsalivat-mobl.amr.corp.intel.com (HELO ingas-nuc1.sea.intel.com) ([10.254.98.52]) by orsmga008.jf.intel.com with ESMTP; 21 May 2020 17:35:02 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 01/10] mesh: Remove unused structure member Date: Thu, 21 May 2020 17:34:52 -0700 Message-Id: <20200522003501.106165-2-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200522003501.106165-1-inga.stotland@intel.com> References: <20200522003501.106165-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 removes unused "agent" member from join_data structure. --- mesh/mesh.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mesh/mesh.c b/mesh/mesh.c index 5fb9eedcf..14ac543e2 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -72,7 +72,6 @@ struct bt_mesh { struct join_data{ struct l_dbus_message *msg; - struct mesh_agent *agent; char *sender; struct mesh_node *node; uint32_t disc_watch; @@ -319,8 +318,6 @@ static void free_pending_join_call(bool failed) l_dbus_remove_watch(dbus_get_bus(), join_pending->disc_watch); - mesh_agent_remove(join_pending->agent); - if (failed) node_remove(join_pending->node); -- 2.26.2