rk3036 dts: add dummy hdmi i2s device.
[firefly-linux-kernel-4.4.55.git] / crypto / algif_skcipher.c
index 918a3b4148b8bd140ee535eeb2b74d88efc65c55..a19c027b29bde504ac8eae4b4572947a69ed2335 100644 (file)
@@ -378,9 +378,6 @@ static ssize_t skcipher_sendpage(struct socket *sock, struct page *page,
        struct skcipher_sg_list *sgl;
        int err = -EINVAL;
 
-       if (flags & MSG_SENDPAGE_NOTLAST)
-               flags |= MSG_MORE;
-
        if (flags & MSG_SENDPAGE_NOTLAST)
                flags |= MSG_MORE;