diff options
Diffstat (limited to 'libmpathcmd/mpath_cmd.c')
-rw-r--r-- | libmpathcmd/mpath_cmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libmpathcmd/mpath_cmd.c b/libmpathcmd/mpath_cmd.c index 1496b68..af618cf 100644 --- a/libmpathcmd/mpath_cmd.c +++ b/libmpathcmd/mpath_cmd.c @@ -142,10 +142,6 @@ int mpath_recv_reply(int fd, char **reply, unsigned int timeout) len = mpath_recv_reply_len(fd, timeout); if (len <= 0) return len; - if (len > MAX_REPLY_LEN) { - errno = EINVAL; - return -1; - } *reply = malloc(len); if (!*reply) return -1; |