Skip to content
Snippets Groups Projects
user avatar
Nghia Le authored
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: default avatarNghia Le <nghialm78@gmail.com>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20211104143740.32446-1-nghialm78@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
70bf363d
History
Name Last commit Last update