28 Apr
2021
28 Apr
'21
12:25 p.m.
On Tue, 27 Apr 2021 12:26:34 +0200, Jiapeng Chong wrote:
Variable len is set to zero 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:
sound/usb/mixer.c:2713:3: warning: Value stored to 'len' is never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot abaci@linux.alibaba.com Signed-off-by: Jiapeng Chong jiapeng.chong@linux.alibaba.com
Thanks, applied.
Takashi