projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-service
/
bt-service-gap-agent.c
diff --git
a/bt-service/bt-service-gap-agent.c
b/bt-service/bt-service-gap-agent.c
index
150a1f0
..
a747ad5
100644
(file)
--- a/
bt-service/bt-service-gap-agent.c
+++ b/
bt-service/bt-service-gap-agent.c
@@
-112,8
+112,6
@@
gboolean _gap_agent_register_osp_server(GapAgentPrivate *agent,
return FALSE;
server = g_malloc0(sizeof(bt_agent_osp_server_t));
- retv_if(server == NULL, FALSE);
-
server->type = type;
if (type == BT_RFCOMM_SERVER) {
server->uuid = g_strdup(uuid);