OpenCloudOS-Kernel/drivers/tty
Colin Ian King 4503b1c29d tty: pty: remove redundant initialization of variable fd
The variable fd is being initialized with a value that is never
read, it is being updated later on. The assignment is redundant and
can be removed.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210513221833.137672-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-20 16:32:59 +02:00
..
hvc tty: hvc_iucv: Drop unnecessary NULL check after container_of 2021-05-13 20:58:57 +02:00
ipwireless tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
serdev tty: serdev: core: Provide missing description for 'owner' 2020-11-06 10:49:27 +01:00
serial serial: sc16is7xx: Use devm_clk_get_optional() 2021-05-20 16:30:40 +02:00
vt vt: Move custom isspace() to its own namespace 2021-05-13 20:38:51 +02:00
Kconfig tty: pti: Remove Kconfig leftovers 2021-04-09 17:00:32 +02:00
Makefile tty: remove broken r3964 line discipline 2021-05-13 16:57:15 +02:00
amiserial.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
ehv_bytechan.c tty: make tty_operations::write_room return uint 2021-05-13 17:03:20 +02:00
goldfish.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
mips_ejtag_fdc.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
moxa.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
moxa.h tty: fix spelling mistake 2020-06-27 16:21:20 +02:00
mxser.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
mxser.h
n_gsm.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
n_hdlc.c tty: no checking of tty_unregister_ldisc 2021-05-13 16:57:17 +02:00
n_null.c tty: make tty_ldisc_ops a param in tty_unregister_ldisc 2021-05-13 16:57:16 +02:00
n_tty.c tty: drop tty_ldisc_ops::refcount 2021-05-13 16:57:17 +02:00
nozomi.c tty: nozomi: Fix a resource leak in an error handling function 2021-05-13 18:29:12 +02:00
pty.c tty: pty: remove redundant initialization of variable fd 2021-05-20 16:32:59 +02:00
synclink_gt.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00
sysrq.c tty/sysrq: Fix issues of code indent should use tabs 2021-04-10 10:33:00 +02:00
tty.h tty: clean include/linux/tty.h up 2021-04-15 10:32:17 +02:00
tty_audit.c tty: audit: move some local functions out of tty.h 2021-04-15 10:24:58 +02:00
tty_baudrate.c tty: tty_baudrate: Fix coding style issues of block comments 2021-05-13 18:29:12 +02:00
tty_buffer.c tty: tty_buffer: Fix coding style issues of block comments 2021-05-13 18:29:12 +02:00
tty_io.c tty: tty_io: Remove return in void function 2021-05-13 18:29:13 +02:00
tty_ioctl.c tty: remove unused tty_throttle 2021-05-13 18:29:11 +02:00
tty_jobctrl.c tty: cumulate and document tty_struct::ctrl* members 2021-05-13 16:57:16 +02:00
tty_ldisc.c tty: return void from tty_unregister_ldisc 2021-05-13 16:57:17 +02:00
tty_ldsem.c locking/lockdep: Remove unused @nested argument from lock_release() 2019-10-09 12:46:10 +02:00
tty_mutex.c tty: move some internal tty lock enums and functions out of tty.h 2021-04-15 10:26:58 +02:00
tty_port.c tty: tty_port: Fix coding style issues of block comments 2021-05-13 18:29:13 +02:00
ttynull.c tty: make tty_operations::write_room return uint 2021-05-13 17:03:20 +02:00
vcc.c tty: make tty_operations::chars_in_buffer return uint 2021-05-13 18:29:11 +02:00