diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2023-04-14 13:12:06 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2023-04-14 13:16:18 +0200 |
| commit | cdc419e9e7f3cbfd17a11cb3bce726903fada546 (patch) | |
| tree | 369514084ba3cefed435be2cc8b5e5499c87972a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 7f11d17f0b0805d68f3d2e116f2e7ff0c655fe39 (diff) | |
wifi: iwlwifi: mvm: tx: remove misleading if statement
The if statement here is misleading, we return zero anyway
since we just checked the 'ret' variable, simplify the code
to remove the condition entirely.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230414130637.57c1eb58e655.I1b47a7771cd66306931089c150c6b5b240bdcba5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
