The newinet value is initialized with inet_sk() in a block code to
handle sockets for the ETH_P_IP protocol. Along this code path,
newinet is never read. Thus, assignment to newinet is needless and
can be removed.
Signed-off-by: Nghia Le <redacted>
---
net/ipv6/tcp_ipv6.c | 1 -
1 file changed, 1 deletion(-)
From: Eric Dumazet <hidden> Date: 2021-11-04 16:44:34
On 11/4/21 7:37 AM, Nghia Le wrote:
quoted hunk
The newinet value is initialized with inet_sk() in a block code to
handle sockets for the ETH_P_IP protocol. Along this code path,
newinet is never read. Thus, assignment to newinet is needless and
can be removed.
Signed-off-by: Nghia Le <redacted>
---
net/ipv6/tcp_ipv6.c | 1 -
1 file changed, 1 deletion(-)
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:
On Thu, 4 Nov 2021 21:37:40 +0700 you wrote:
The newinet value is initialized with inet_sk() in a block code to
handle sockets for the ETH_P_IP protocol. Along this code path,
newinet is never read. Thus, assignment to newinet is needless and
can be removed.
Signed-off-by: Nghia Le <redacted>
[...]
Hello:
This patch was applied to bpf/bpf.git (master)
by Jakub Kicinski [off-list ref]:
On Thu, 4 Nov 2021 21:37:40 +0700 you wrote:
The newinet value is initialized with inet_sk() in a block code to
handle sockets for the ETH_P_IP protocol. Along this code path,
newinet is never read. Thus, assignment to newinet is needless and
can be removed.
Signed-off-by: Nghia Le <redacted>
[...]