diff options
author | Amadeusz Sławiński <[email protected]> | 2023-01-28 00:11:09 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-01-30 16:56:36 +0000 |
commit | d9b07b790a5c47dd4fd66c9264a3b38a103fa09b (patch) | |
tree | f122dc9b018d3bf7fc4d4630d3869129a0802122 /scripts/gdb/linux/device.py | |
parent | b784617a407c4f7e079e1694c3161ab29eb4bab1 (diff) |
ASoC: topology: Remove unnecessary check for EOF
Caller already checks if hdr_pos is behind EOF, before calling
soc_tplg_valid_header(), so there is no need to recheck it again. This
also allows to remove behaviour of return 0 - forcing the caller to
break out of while loop.
Reviewed-by: Cezary Rojewski <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions