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

Commit a80cc20d authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller
Browse files

[IPV4] TCPMD5: Omit redundant NULL check for kfree() argument.

parent 53438e5d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -900,7 +900,6 @@ int tcp_v4_md5_do_add(struct sock *sk, __be32 addr,
				       sizeof(*keys) * md5sig->entries4);

			/* Free old key list, and reference new one */
			if (md5sig->keys4)
			kfree(md5sig->keys4);
			md5sig->keys4 = keys;
			md5sig->alloced4++;