rds: Remove redundant assignment to nr_sig
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 27 Apr 2021 10:24:47 +0000 (18:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2021 21:14:33 +0000 (14:14 -0700)
commit4db6187d721ed6a30df658da137a12246fe6a1b7
tree69d8e58b423975be40cc86c0530a7162bbbb4ce4
parent733933a9ccb0572c789345845e8a01a61d8de204
rds: Remove redundant assignment to nr_sig

Variable nr_sig is being assigned a value however the assignment is
never read, so this redundant assignment can be removed.

Cleans up the following clang-analyzer warning:

net/rds/ib_send.c:297:2: warning: Value stored to 'nr_sig' 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_send.c