diff options
author | Jiapeng Chong <[email protected]> | 2022-04-06 21:07:11 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-17 19:54:24 -0600 |
commit | e1838cf01b2dbc71ac579bd762158c62a3e63f6f (patch) | |
tree | 973af467958d2e9b176a9f726a2bcc63885176b8 /tools/perf/scripts/python/flamegraph.py | |
parent | 4b28f3b448df42a202ebf2d8824280ee71e6d79a (diff) |
block: drbd: drbd_receiver: Remove redundant assignment to err
Variable err is set to '-EIO' but this value is never read as
it is overwritten or not used later on, hence it is a redundant
assignment and can be removed.
Clean up the following clang-analyzer warning:
drivers/block/drbd/drbd_receiver.c:3955:5: warning: Value stored to
'err' is never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Christoph Böhmwalder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions