diff options
author | Felix Schlepper <[email protected]> | 2022-07-01 11:24:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-07-08 14:25:46 +0200 |
commit | 58f364ecb13ecece3a84d6517b6be4a4672db655 (patch) | |
tree | 9361e933710fad4f86a33f47784ebdbbec01c9f0 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 907d2772f75168d2f39087c8c77195c16d3e019d (diff) |
Staging: rtl8192e: Added braces around else
This addresses two issues raised by checkpatch.pl:
$ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
CHECK: braces {} should be used on all arms of this statement
CHECK: Unbalanced braces around else statement
The coding style rule with not using unnecessary braces around if/else
does not apply if only one branch is a single statement.
Tested-by: Philipp Hortmann <[email protected]>
Signed-off-by: Felix Schlepper <[email protected]>
Link: https://lore.kernel.org/r/651f51d9f92e8a445ceaf9f2073f16dd10458a74.1656667089.git.f3sch.git@outlook.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions