Skip to content

Commit

Permalink
Remove printk from rds_sendmsg
Browse files Browse the repository at this point in the history
no socket layer outputs a message for this error and neither should rds.

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Dave Jones authored and davem330 committed Mar 20, 2012
1 parent 1f85851 commit a6506e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/rds/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a6506e1

Please sign in to comment.