aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGabor Juhos <[email protected]>2025-07-11 16:32:52 +0000
committerMark Brown <[email protected]>2025-07-23 12:04:08 +0000
commit1f590fa4b93dd7c7daaa4e09d8381ac2aab3853c (patch)
tree86b7bc404371c235c84a4b01d360ac5fbdef18d3 /net/unix/af_unix.c
parentspidev: introduce trivial abb sensor device (diff)
downloadkernel-1f590fa4b93dd7c7daaa4e09d8381ac2aab3853c.tar.gz
kernel-1f590fa4b93dd7c7daaa4e09d8381ac2aab3853c.zip
spi: spi-qpic-snand: simplify bad block marker duplication
Due to the expectations of the SPINAND code, the driver duplicates the bad block markers during raw OOB reads. It has been implemented by using two if statements, and due to the opposite conditions one of conditional codepaths always runs. Since the effect of both codepaths is the same, remove the if statements and use a single line solution instead. Also add a note about why the duplication is required. No functional changes intended. Signed-off-by: Gabor Juhos <[email protected]> Link: https://patch.msgid.link/20250711-qpic-snand-simplify-bbm-copy-v1-1-dd2608325f72@gmail.com Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions