net: Remove iocb argument from sendmsg and recvmsg
[cascardo/linux.git] / net / x25 / af_x25.c
index d9149b6..c3ab230 100644 (file)
@@ -1077,8 +1077,7 @@ out_clear_request:
        goto out;
 }
 
-static int x25_sendmsg(struct kiocb *iocb, struct socket *sock,
-                      struct msghdr *msg, size_t len)
+static int x25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
 {
        struct sock *sk = sock->sk;
        struct x25_sock *x25 = x25_sk(sk);
@@ -1252,8 +1251,7 @@ out_kfree_skb:
 }
 
 
-static int x25_recvmsg(struct kiocb *iocb, struct socket *sock,
-                      struct msghdr *msg, size_t size,
+static int x25_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
                       int flags)
 {
        struct sock *sk = sock->sk;