From: "Gix, Brian" <brian.gix@intel.com>
To: "linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
"Stotland, Inga" <inga.stotland@intel.com>
Subject: Re: [PATCH BlueZ] mesh: Remove unused timing variable tx_start
Date: Thu, 3 Sep 2020 20:27:44 +0000 [thread overview]
Message-ID: <a4e57397b7e50bd1a64d3f213f9e70d8d8818d44.camel@intel.com> (raw)
In-Reply-To: <20200903190205.9439-1-inga.stotland@intel.com>
Applied
On Thu, 2020-09-03 at 12:02 -0700, Inga Stotland wrote:
> In model.c, tx_Start is a static variable, dynamically set, but
> never used. Is removed now.
> ---
> mesh/model.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/mesh/model.c b/mesh/model.c
> index ed2a75215..5716f5e22 100644
> --- a/mesh/model.c
> +++ b/mesh/model.c
> @@ -80,8 +80,6 @@ struct mod_forward {
>
> static struct l_queue *mesh_virtuals;
>
> -static struct timeval tx_start;
> -
> static bool is_internal(uint32_t id)
> {
> if (id == CONFIG_SRV_MODEL || id == CONFIG_CLI_MODEL)
> @@ -1018,8 +1016,6 @@ int mesh_model_publish(struct mesh_node *node, uint32_t id, uint16_t src,
> return MESH_ERROR_DOES_NOT_EXIST;
> }
>
> - gettimeofday(&tx_start, NULL);
> -
> if (IS_UNASSIGNED(mod->pub->addr))
> return MESH_ERROR_DOES_NOT_EXIST;
>
> @@ -1049,8 +1045,6 @@ bool mesh_model_send(struct mesh_node *node, uint16_t src, uint16_t dst,
> if (src == 0)
> src = node_get_primary(node);
>
> - gettimeofday(&tx_start, NULL);
> -
> if (IS_UNASSIGNED(dst))
> return false;
>
prev parent reply other threads:[~2020-09-03 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 19:02 [PATCH BlueZ] mesh: Remove unused timing variable tx_start Inga Stotland
2020-09-03 20:27 ` Gix, Brian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4e57397b7e50bd1a64d3f213f9e70d8d8818d44.camel@intel.com \
--to=brian.gix@intel.com \
--cc=inga.stotland@intel.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox