aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-01-14 10:56:41 +0000
committerLuiz Augusto von Dentz <[email protected]>2025-01-15 15:36:11 +0000
commitacdbea5e71fe955c3cdf70af7e0e43795d230947 (patch)
tree275ad3a5b2992bea604decc1be5847d4183a5425 /net/unix/sysctl_net_unix.c
parentBluetooth: btmtk: Remove resetting mt7921 before downloading the fw (diff)
downloadkernel-acdbea5e71fe955c3cdf70af7e0e43795d230947.tar.gz
kernel-acdbea5e71fe955c3cdf70af7e0e43795d230947.zip
Bluetooth: Use str_enable_disable-like helpers
Replace ternary (condition ? "enable" : "disable") syntax with helpers from string_choices.h because: 1. Simple function call with one argument is easier to read. Ternary operator has three arguments and with wrapping might lead to quite long code. 2. Is slightly shorter thus also easier to read. 3. It brings uniformity in the text - same string. 4. Allows deduping by the linker, which results in a smaller binary file. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions