diff options
author | 2022-10-25 11:51:26 -0700 | |
---|---|---|
committer | 2022-10-26 19:07:43 -0700 | |
commit | e0b3ef17f45eb8a6860189306cf0ce5f509a043b (patch) | |
tree | 54931c0b1bfa303b7e6b9a56dcf9567f765698a5 /drivers/net/macsec.c | |
parent | mptcp: fix tracking issue in mptcp_subflow_create_socket() (diff) | |
download | wireguard-linux-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.tar.xz wireguard-linux-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.zip |
phylink: require valid state argument to phylink_validate_mask_caps()
state is deferenced earlier in the function, the NULL check
is pointless. Since we don't have any crash reports presumably
it's safe to assume state is not NULL.
Fixes: f392a1846489 ("net: phylink: provide phylink_validate_mask_caps() helper")
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Link: https://lore.kernel.org/r/20221025185126.1720553-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions