From: Dmitry Bogatov Date: Wed, 16 Oct 2013 08:38:14 +0000 (+0400) Subject: [REFACTOR] Remove redutant check X-Git-Tag: Tizen_SDK_2.3~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58fe56521cea15308d4d28a1442933a856ee5ac9;p=platform%2Fcore%2Fsystem%2Fswap-manager.git [REFACTOR] Remove redutant check Change-Id: Id39b79c62335ebf3797f9a1abfc3ebacca327cdd --- diff --git a/daemon/da_protocol.c b/daemon/da_protocol.c index ab6a400..4432554 100644 --- 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");