aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2022-05-13 03:38:37 +0000
committerAndrew Morton <[email protected]>2022-05-13 03:38:37 +0000
commit47b7eae62aa7dc69f0e6d12493e5468ba57bf074 (patch)
tree08fbe7fed30a758bde91f79bf5d0862d1085436b /drivers/tty/tty_buffer.c
parentfs/ntfs3: validate BOOT sectors_per_clusters (diff)
downloadkernel-47b7eae62aa7dc69f0e6d12493e5468ba57bf074.tar.gz
kernel-47b7eae62aa7dc69f0e6d12493e5468ba57bf074.zip
relay: remove redundant assignment to pointer buf
Pointer buf is being assigned a value that is not being read, buf is being re-assigned in the next starement. The assignment is redundant and can be removed. Cleans up clang scan build warning: kernel/relay.c:443:8: warning: Although the value stored to 'buf' is used in the enclosing expression, the value is never actually read from 'buf' [deadcode.DeadStores] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Kalle Valo <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions