diff --git a/[refs] b/[refs] index c93054ac5a48..3fb45c1eef02 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c5fd363d771393a7b42bbbe051f30f97d4867a40 +refs/heads/master: d971e0656bf6e57925292dae755d36fb3c5b093d diff --git a/trunk/fs/cifs/transport.c b/trunk/fs/cifs/transport.c index f25d4ea14be4..fdda15a6a803 100644 --- a/trunk/fs/cifs/transport.c +++ b/trunk/fs/cifs/transport.c @@ -126,7 +126,6 @@ smb_sendv(struct TCP_Server_Info *server, struct kvec *iov, int n_vec) int rc = 0; int i = 0; struct msghdr smb_msg; - __be32 *buf_len = (__be32 *)(iov[0].iov_base); unsigned int len = iov[0].iov_len; unsigned int total_len; int first_vec = 0; @@ -235,9 +234,6 @@ smb_sendv(struct TCP_Server_Info *server, struct kvec *iov, int n_vec) else rc = 0; - /* Don't want to modify the buffer as a side effect of this call. */ - *buf_len = cpu_to_be32(smb_buf_length); - return rc; }