diff options
author | Hans Zhang <18255117159@163.com> | 2025-06-13 00:12:26 +0800 |
---|---|---|
committer | Manivannan Sadhasivam <mani@kernel.org> | 2025-06-25 15:56:08 -0600 |
commit | 032f05be51ab4a1d67d08a8083ec16dd934d255e (patch) | |
tree | 323b88d25d33a6a95d29346ff623ece28c6e5c0a /net/lapb | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
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 'net/lapb')
0 files changed, 0 insertions, 0 deletions