Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41c91996 authored by Li RongQing's avatar Li RongQing Committed by David S. Miller
Browse files

tcp: remove unnecessary assignment.



This variable i is overwritten to 0 by following code

Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1937227
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ static bool tcp_fastopen_cookie_gen(struct request_sock *req,

		if (__tcp_fastopen_cookie_gen(&ip6h->saddr, &tmp)) {
			struct in6_addr *buf = (struct in6_addr *) tmp.val;
			int i = 4;
			int i;

			for (i = 0; i < 4; i++)
				buf->s6_addr32[i] ^= ip6h->daddr.s6_addr32[i];