From 58fe56521cea15308d4d28a1442933a856ee5ac9 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 16 Oct 2013 12:38:14 +0400 Subject: [PATCH] [REFACTOR] Remove redutant check Change-Id: Id39b79c62335ebf3797f9a1abfc3ebacca327cdd --- daemon/da_protocol.c | 6 ------ 1 file changed, 6 deletions(-) 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"); -- 2.7.4