diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-07-30 14:09:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 17:59:36 +0200 |
commit | e4cdd25cafac3f61c74c146db5de7a5c9bd7b6d0 (patch) | |
tree | 2059103b492e6b2ed9df3768d1a9c2f215bb5cf7 /kernel/sys_ni.c | |
parent | 74b2c563c2a7b031a7717ccab07be385e4f8f7d8 (diff) | |
download | linux-stable-e4cdd25cafac3f61c74c146db5de7a5c9bd7b6d0.tar.gz linux-stable-e4cdd25cafac3f61c74c146db5de7a5c9bd7b6d0.tar.bz2 linux-stable-e4cdd25cafac3f61c74c146db5de7a5c9bd7b6d0.zip |
tty: mxser: remove redundant assignment to hwid
The variable hwid is assigned a value but it is never read. The
assignment is redundant and can be removed.
Cleans up clang scan build warning:
drivers/tty/mxser.c:401:7: warning: Although the value stored to 'hwid'
is used in the enclosing expression, the value is never actually read
from 'hwid' [deadcode.DeadStores]
Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220730130925.150018-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions