diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-17 17:47:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-23 17:25:22 +0100 |
| commit | 85052fdb40a0eb2278d10f016ce12de00672bba9 (patch) | |
| tree | f3b85a6c5f5cd5dad78a56d76cad332bbbda6e2d /scripts/gdb/linux/utils.py | |
| parent | 53ee2663f0df536ccb37d559c4f4c53c4511db7a (diff) | |
xhci: mem: Get rid of redundant 'else'
In the snippets like the following
if (...)
return / goto / break / continue ...;
else
...
the 'else' is redundant. Get rid of it.
While at it, make if-chain sorted from testing bigger values to smaller.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20230317154715.535523-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
