]> Git Repo - linux.git/commit
wireguard: allowedips: remove redundant selftest call
authorDheeraj Reddy Jonnalagadda <[email protected]>
Sun, 17 Nov 2024 21:20:28 +0000 (22:20 +0100)
committerJakub Kicinski <[email protected]>
Tue, 19 Nov 2024 03:32:27 +0000 (19:32 -0800)
commitc1822fb64f678ba5bf04dff2bea361537c6f7278
treed550e700a4d0e714ce8eb74436ee523e30e4c738
parent2c862914fbcf85609147401ea8674ae9a9e3b8cc
wireguard: allowedips: remove redundant selftest call

This commit fixes a useless call issue detected by Coverity (CID
1508092). The call to horrible_allowedips_lookup_v4 is unnecessary as
its return value is never checked.

Signed-off-by: Dheeraj Reddy Jonnalagadda <[email protected]>
Fixes: e7096c131e51 ("net: WireGuard secure network tunnel")
Signed-off-by: Jason A. Donenfeld <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/wireguard/selftest/allowedips.c
This page took 0.055207 seconds and 4 git commands to generate.