aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-03-19 09:01:07 -0400
committerDavid S. Miller <davem@davemloft.net>2012-03-20 16:12:11 -0400
commita6506e1486181975d318344143aca722b2b91621 (patch)
tree3ce23cc057dc6c3dc3e643653882853379df5677 /net/rds
parent1f85851e17b64cabd089a8a8839dddebc627948c (diff)
Remove printk from rds_sendmsg
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>
Diffstat (limited to 'net/rds')
-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,
935 /* Mirror Linux UDP mirror of BSD error message compatibility */ 935 /* Mirror Linux UDP mirror of BSD error message compatibility */
936 /* XXX: Perhaps MSG_MORE someday */ 936 /* XXX: Perhaps MSG_MORE someday */
937 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT)) { 937 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT)) {
938 printk(KERN_INFO "msg_flags 0x%08X\n", msg->msg_flags);
939 ret = -EOPNOTSUPP; 938 ret = -EOPNOTSUPP;
940 goto out; 939 goto out;
941 } 940 }