diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-27 18:28:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-27 14:15:19 -0700 |
commit | 3afef8c7aa2de3574021c848b5f7c62687e6b166 (patch) | |
tree | b6e44bfed5446fd14a8f70686ee8c4d69fbe4f8e /net/socket.c | |
parent | 4db6187d721ed6a30df658da137a12246fe6a1b7 (diff) |
net/tls: Remove redundant initialization of record
record is being initialized to ctx->open_record but this is never
read as record is overwritten later on. Remove the redundant
initialization.
Cleans up the following clang-analyzer warning:
net/tls/tls_device.c:421:26: warning: Value stored to 'record' during
its initialization 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>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions