projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7f834
)
[REFACTOR] Remove redutant check
author
Dmitry Bogatov
<d.bogatov@samsung.com>
Wed, 16 Oct 2013 08:38:14 +0000
(12:38 +0400)
committer
Dmitry Bogatov
<d.bogatov@samsung.com>
Wed, 16 Oct 2013 08:44:49 +0000
(12:44 +0400)
Change-Id: Id39b79c62335ebf3797f9a1abfc3ebacca327cdd
daemon/da_protocol.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol.c
b/daemon/da_protocol.c
index
ab6a400
..
4432554
100644
(file)
--- a/
daemon/da_protocol.c
+++ b/
daemon/da_protocol.c
@@
-949,12
+949,6
@@
int host_message_handler(struct msg_t *msg)
error_code = ERR_CANNOT_START_PROFILING;
goto send_ack;
}
- //response to control socket
- if (msg_reply == NULL) {
- LOGE("message for kernel is null\n");
- error_code = ERR_CANNOT_START_PROFILING;
- goto send_ack;
- }
if (ioctl_send_msg(msg_reply) != 0) {
LOGE("cannot send message to device\n");