net: Remove iocb argument from sendmsg and recvmsg
[deliverable/linux.git] / drivers / net / tun.c
index 857dca47bf80eb9127e9e11d70c3cd681d114aae..b96b94cee76035cc6131d402f85d63ca2c0421e7 100644 (file)
@@ -1448,8 +1448,7 @@ static void tun_sock_write_space(struct sock *sk)
        kill_fasync(&tfile->fasync, SIGIO, POLL_OUT);
 }
 
-static int tun_sendmsg(struct kiocb *iocb, struct socket *sock,
-                      struct msghdr *m, size_t total_len)
+static int tun_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len)
 {
        int ret;
        struct tun_file *tfile = container_of(sock, struct tun_file, socket);
@@ -1464,8 +1463,7 @@ static int tun_sendmsg(struct kiocb *iocb, struct socket *sock,
        return ret;
 }
 
-static int tun_recvmsg(struct kiocb *iocb, struct socket *sock,
-                      struct msghdr *m, size_t total_len,
+static int tun_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len,
                       int flags)
 {
        struct tun_file *tfile = container_of(sock, struct tun_file, socket);
This page took 0.069909 seconds and 5 git commands to generate.