diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-10-25 20:51:26 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-27 04:07:43 +0200 |
commit | e0b3ef17f45eb8a6860189306cf0ce5f509a043b (patch) | |
tree | 54931c0b1bfa303b7e6b9a56dcf9567f765698a5 /net/rds | |
parent | mptcp: fix tracking issue in mptcp_subflow_create_socket() (diff) | |
download | linux-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.tar.xz 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 'net/rds')
0 files changed, 0 insertions, 0 deletions