diff options
| author | Hans Zhang <[email protected]> | 2025-06-12 16:12:26 +0000 |
|---|---|---|
| committer | Manivannan Sadhasivam <[email protected]> | 2025-06-25 21:56:08 +0000 |
| commit | 032f05be51ab4a1d67d08a8083ec16dd934d255e (patch) | |
| tree | 323b88d25d33a6a95d29346ff623ece28c6e5c0a /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-032f05be51ab4a1d67d08a8083ec16dd934d255e.tar.gz kernel-032f05be51ab4a1d67d08a8083ec16dd934d255e.zip | |
PCI: dwc: Simplify the return value of PTM debugfs functions returning bool
Replace redundant ternary conditional expressions with direct boolean
returns in PTM debugfs functions. Specifically change this pattern:
return (condition) ? true : false;
to the simpler:
return condition;
Signed-off-by: Hans Zhang <[email protected]>
[mani: subject rewording]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
