net/ulp: Remove redundant ->clone() test in inet_clone_ulp().
authorKuniyuki Iwashima <kuniyu@amazon.com>
Fri, 17 Feb 2023 20:09:20 +0000 (12:09 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:31:49 +0000 (16:31 -0800)
commitbe9832c2e9cc4c15906a77baddcd906fb4bb864b
treed1b9df10dad7e0e3be7409743dbe0a0f481235c6
parentee8d72a157ebb4b8c4b8b664f5a78a341fede2ef
net/ulp: Remove redundant ->clone() test in inet_clone_ulp().

Commit 2c02d41d71f9 ("net/ulp: prevent ULP without clone op from entering
the LISTEN status") guarantees that all ULP listeners have clone() op, so
we no longer need to test it in inet_clone_ulp().

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20230217200920.85306-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_connection_sock.c