summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorluo penghao <cgel.zte@gmail.com>2021-10-28 06:15:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-28 16:39:06 +0300
commit6a03bfbd5eade19e1943551abba2acd4d9079762 (patch)
treed6df0e4a6fa722ad35b522efa5b843ec7478a75d /scripts/generate_rust_analyzer.py
parentee046d9a22a4110fcf14cefa7536c265d0e6f174 (diff)
downloadlinux-6a03bfbd5eade19e1943551abba2acd4d9079762.tar.xz
sky2: Remove redundant assignment and parentheses
The variable err will be reassigned on subsequent branches, and this assignment does not perform related value operations. This will cause the double parentheses to be redundant, so the inner parentheses should be deleted. clang_analyzer complains as follows: drivers/net/ethernet/marvell/sky2.c:4988: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'. Changes in v2: modify title category:octeontx2-af to sky2. delete the inner parentheses. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: luo penghao <luo.penghao@zte.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions