diff options
| author | Aastha Gupta <aastha.gupta4104@gmail.com> | 2017-10-08 10:24:51 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:07:49 +0200 |
| commit | 95b3b4238581e72756505d601948f955e8baccf7 (patch) | |
| tree | 12c7de20de9e4ebbf8449666e4823bd16f039324 /scripts/gdb/linux/proc.py | |
| parent | 33536569fa2b4cd4cc812eb2900249d77c904160 (diff) | |
staging: rtl8723bs: remove ternary operators in assignmet statments
Remove unnecessary ternary operators in assignments statments.
This patch is with the help of following Coccinelle script:
@@
expression a, b, c;
binary operator op = {==, !=, <=, >=, <, >, &&, ||};
@@
c =
- (a op b) ? true : false
+ a op b
Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
