summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorHans Zhang <18255117159@163.com>2025-06-12 19:12:26 +0300
committerManivannan Sadhasivam <mani@kernel.org>2025-06-26 00:56:08 +0300
commit032f05be51ab4a1d67d08a8083ec16dd934d255e (patch)
tree323b88d25d33a6a95d29346ff623ece28c6e5c0a /tools/docs/lib/parse_data_structs.py
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
downloadlinux-032f05be51ab4a1d67d08a8083ec16dd934d255e.tar.xz
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 <18255117159@163.com> [mani: subject rewording] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Niklas Cassel <cassel@kernel.org> Link: https://patch.msgid.link/20250612161226.950937-1-18255117159@163.com
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions