diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-06-05 16:58:42 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-06-07 21:57:20 +0300 |
commit | e5753da31c61a049113be99d27e9f46755484577 (patch) | |
tree | 8ebce86472006da34aaa9b587ec626477062f8dd /fs/devpts | |
parent | b9064fb834bf50789819cfcc1449b3197ae43b68 (diff) | |
download | linux-e5753da31c61a049113be99d27e9f46755484577.tar.xz |
powercap: idle_inject: Simplify if condition
The if condition !A || A && B can be simplified to !A || B.
Fixes the following Coccinelle/coccicheck warning reported by
excluded_middle.cocci:
WARNING !A || A && B is equivalent to !A || B
Compile-tested only.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions