projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b51c0c
)
mesh: Remove redundant initialization
author
Inga Stotland
<inga.stotland@intel.com>
Thu, 4 Jul 2019 07:15:16 +0000
(
00:15
-0700)
committer
Anupam Roy
<anupam.r@samsung.com>
Tue, 17 Dec 2019 15:21:01 +0000
(20:51 +0530)
This fixes a case where a variable was initialized twice.
Change-Id: I14b10105095304d93c25d067ad435fceed79835f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/cfgmod-server.c
patch
|
blob
|
history
diff --git
a/mesh/cfgmod-server.c
b/mesh/cfgmod-server.c
index
634ac00
..
bb78cea
100644
(file)
--- a/
mesh/cfgmod-server.c
+++ b/
mesh/cfgmod-server.c
@@
-742,7
+742,7
@@
static bool cfg_srv_pkt(uint16_t src, uint32_t dst,
uint8_t ttl, const void *user_data)
{
struct mesh_node *node = (struct mesh_node *) user_data;
- struct mesh_net *net
= node_get_net(node)
;
+ struct mesh_net *net;
const uint8_t *pkt = data;
struct timeval time_now;
uint32_t opcode, tmp32;