summaryrefslogtreecommitdiff
path: root/net/rds/send.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-03-19 13:01:07 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:53:08 -0700
commit8dd1b45065052ea3bddbb58368dfdbef5c4bc80d (patch)
tree8d14d325796a962b7757121a2b86ee32f6383d63 /net/rds/send.c
parent905c221ccf34bd7be7947cab38b2b1296fe9243b (diff)
downloadlwn-8dd1b45065052ea3bddbb58368dfdbef5c4bc80d.tar.gz
lwn-8dd1b45065052ea3bddbb58368dfdbef5c4bc80d.zip
Remove printk from rds_sendmsg
[ Upstream commit a6506e1486181975d318344143aca722b2b91621 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds/send.c')
-rw-r--r--net/rds/send.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/send.c b/net/rds/send.c
index e2d63c59e7c2..96531d4033a2 100644
--- a/net/rds/send.c
+++ b/net/rds/send.c
@@ -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;
}