be2net: remove unused local rsstable array
[cascardo/linux.git] / ipc / msgutil.c
index 71f448e..ed81aaf 100644 (file)
@@ -123,7 +123,6 @@ struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst)
        size_t len = src->m_ts;
        size_t alen;
 
-       WARN_ON(dst == NULL);
        if (src->m_ts > dst->m_ts)
                return ERR_PTR(-EINVAL);