aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-03-02 02:37:48 -0500
committerDavid S. Miller <davem@davemloft.net>2015-03-02 13:06:31 -0500
commit1b784140474e4fc94281a49e96c67d29df0efbde (patch)
tree569e9813ae7ab79616849b117c6b50b3d6e4dabb /drivers/net/ppp
parent39a0295f901423e260a034ac7c3211ecaa9c2745 (diff)
net: Remove iocb argument from sendmsg and recvmsg
After TIPC doesn't depend on iocb argument in its internal implementations of sendmsg() and recvmsg() hooks defined in proto structure, no any user is using iocb argument in them at all now. Then we can drop the redundant iocb argument completely from kinds of implementations of both sendmsg() and recvmsg() in the entire networking stack. Cc: Christoph Hellwig <hch@lst.de> Suggested-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r--drivers/net/ppp/pppoe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c
index 9c97e9bcf5f5..ff059e1d8ac6 100644
--- a/drivers/net/ppp/pppoe.c
+++ b/drivers/net/ppp/pppoe.c
@@ -835,8 +835,8 @@ static int pppoe_ioctl(struct socket *sock, unsigned int cmd,
835 return err; 835 return err;
836} 836}
837 837
838static int pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, 838static int pppoe_sendmsg(struct socket *sock, struct msghdr *m,
839 struct msghdr *m, size_t total_len) 839 size_t total_len)
840{ 840{
841 struct sk_buff *skb; 841 struct sk_buff *skb;
842 struct sock *sk = sock->sk; 842 struct sock *sk = sock->sk;
@@ -977,8 +977,8 @@ static const struct ppp_channel_ops pppoe_chan_ops = {
977 .start_xmit = pppoe_xmit, 977 .start_xmit = pppoe_xmit,
978}; 978};
979 979
980static int pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, 980static int pppoe_recvmsg(struct socket *sock, struct msghdr *m,
981 struct msghdr *m, size_t total_len, int flags) 981 size_t total_len, int flags)
982{ 982{
983 struct sock *sk = sock->sk; 983 struct sock *sk = sock->sk;
984 struct sk_buff *skb; 984 struct sk_buff *skb;