aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorLi Ming <[email protected]>2025-05-16 14:32:20 +0000
committerDave Jiang <[email protected]>2025-05-19 15:58:04 +0000
commit6eed708a5693709ff0d4dd8512b6934be30d4283 (patch)
treeefffe24302e0f553facb9b59d18990ea04435323 /drivers/pci/controller/pci-host-generic.c
parentdocs: ABI: Fix "firwmare" to "firmware" (diff)
downloadkernel-6eed708a5693709ff0d4dd8512b6934be30d4283.tar.gz
kernel-6eed708a5693709ff0d4dd8512b6934be30d4283.zip
cxl/feature: Remove redundant code of get supported features
In cxlctl_get_supported_features(), there is a code block that handles the case where the requested is equal to 0. But the code following the code block can also handle this situation. So the code block is not needed. Signed-off-by: Li Ming <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions