diff options
| author | Colin Ian King <[email protected]> | 2022-03-07 15:53:38 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2022-03-18 17:12:07 +0100 |
| commit | 0ca8794a446c9fac951d9c2f26c2be7b8bd7c17b (patch) | |
| tree | 0d2299f742d6c8133010283354dfa711dd4bfa87 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e89600ebeeb14d18c0b062837a84196f72542830 (diff) | |
Bluetooth: mgmt: remove redundant assignment to variable cur_len
Variable cur_len is being ininitialized with a value in the start of
a for-loop but this is never read, it is being re-assigned a new value
on the first statement in the for-loop. The initialization is redundant
and can be removed.
Cleans up clang scan build warning:
net/bluetooth/mgmt.c:7958:14: warning: Although the value stored to 'cur_len'
is used in the enclosing expression, the value is never actually read
from 'cur_len' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions