diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-15 23:29:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-18 18:59:58 +0100 |
| commit | 1364ea8a561356760c86a38c76ddb553bb17c646 (patch) | |
| tree | 451c6847c5f48915072db866f867e2d38a89079a /net/unix/af_unix.c | |
| parent | serial: 8250_bcm7271: Replace custom unit definitions (diff) | |
| download | linux-1364ea8a561356760c86a38c76ddb553bb17c646.tar.gz linux-1364ea8a561356760c86a38c76ddb553bb17c646.zip | |
serial: lpc32xx_hs: remove redundant check and assignment of hsu_rate
Variable hsu_rate is being checked for an upper limit and is assigned
a value that is never read. The if statement and assignment are
redundant and can be removed.
Cleans up clang scan build warning:
drivers/tty/serial/lpc32xx_hs.c:237:3: warning: Value stored
to 'hsu_rate' is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240215232944.2075789-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
