Remove printk from rds_sendmsg
authorDave Jones <davej@redhat.com>
Mon, 19 Mar 2012 13:01:07 +0000 (13:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2012 20:12:11 +0000 (16:12 -0400)
no socket layer outputs a message for this error and neither should rds.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/send.c

index e2d63c5..96531d4 100644 (file)
@@ -935,7 +935,6 @@ int rds_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
        /* Mirror Linux UDP mirror of BSD error message compatibility */
        /* XXX: Perhaps MSG_MORE someday */
        if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT)) {
-               printk(KERN_INFO "msg_flags 0x%08X\n", msg->msg_flags);
                ret = -EOPNOTSUPP;
                goto out;
        }