diff options
author | 2022-03-04 13:36:45 -0800 | |
---|---|---|
committer | 2022-06-21 14:09:00 -0700 | |
commit | 8ae3cebc1704b9a3ab8398dc7820c37183026bbc (patch) | |
tree | 0e3958d481271d01bcaf085ffd5c3c83f14aa5ad /net/unix/sysctl_net_unix.c | |
parent | cxl: Fix cleanup of port devices on failure to probe driver. (diff) | |
download | wireguard-linux-8ae3cebc1704b9a3ab8398dc7820c37183026bbc.tar.xz wireguard-linux-8ae3cebc1704b9a3ab8398dc7820c37183026bbc.zip |
cxl/core: Use is_endpoint_decoder
Save some characters and directly check decoder type rather than port
type. There's no need to check if the port is an endpoint port since, by
this point, cxl_endpoint_decoder_alloc() has a specified type.
Reviewed by: Adam Manzanares <a.manzanares@samsung.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions