diff options
| author | Yang Li <[email protected]> | 2021-04-28 17:59:05 +0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2021-06-23 10:57:29 +0200 |
| commit | c2a8637c055e4ea86cd414bbf02034d1449685cc (patch) | |
| tree | 0789668a127fa2b52209ecd31c2a50f7f550f8ca /tools/perf/scripts | |
| parent | e93bdd78406da9ed01554c51e38b2a02c8ef8025 (diff) | |
net: wireless: wext_compat.c: Remove redundant assignment to ps
Variable 'ps' is set to wdev->ps but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.
Cleans up the following clang-analyzer warning:
net/wireless/wext-compat.c:1170:7: warning: Value stored to 'ps' during
its initialization is never read [clang-analyzer-deadcode.DeadStores]
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions