aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2024-11-07 13:33:48 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-10 11:06:40 +0100
commit7f72d17359e5916eb1abb416c7ac57f7eeb8aa51 (patch)
treec40bb172641e5d4c2091d34b7936e9470fa20e98 /tools/perf/scripts/python/export-to-sqlite.py
parent226ff2e681d006eada59a9693aa1976d4c15a7d4 (diff)
usb: gadget: function: remove redundant else statement
After an initial range change on the insigned int alt being > 1 the only possible values for alt are 0 or 1. Therefore the else statement for values other than 0 or 1 is redundant and can be removed. Replace the else if (all == 1) check with just an else. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Link: https://lore.kernel.org/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions