| From 972312b8df4174aa1487928daaf3e0dbffa937ad Mon Sep 17 00:00:00 2001 |
| From: Dave Jones <davej@redhat.com> |
| Date: Mon, 19 Mar 2012 13:01:07 +0000 |
| Subject: Remove printk from rds_sendmsg |
| |
| |
| From: Dave Jones <davej@redhat.com> |
| |
| [ 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> |
| --- |
| net/rds/send.c | 1 - |
| 1 file changed, 1 deletion(-) |
| |
| --- a/net/rds/send.c |
| +++ b/net/rds/send.c |
| @@ -935,7 +935,6 @@ int rds_sendmsg(struct kiocb *iocb, stru |
| /* 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; |
| } |