tty->disc_data is 'void *', so there is no need to cast from that.
Therefore remove the casts and assign the pointer directly.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Thanks for spotting this!
Reviewed-by: Max Staudt <max@enpas.org>
Thread (10 messages)
10 messages,
5 authors,
last reply 2023-08-03