Re: [PATCH 1/2] can: can327: remove casts from tty->disc_data

From
Simon Horman <horms@kernel.org>
Date
2023-08-01 12:26:03
Also in
linux-serial, lkml, netdev
Reply to
Jiri Slaby (SUSE), 2023-08-01
On Tue, Aug 01, 2023 at 08:22:36AM +0200, Jiri Slaby (SUSE) wrote:
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>
Reviewed-by: Simon Horman <horms@kernel.org>
Thread (3 messages) 3 messages, 3 authors, last reply 2023-08-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help