Re: [PATCH 2/2] net: nfc: remove casts from tty->disc_data

From
Max Staudt <max@enpas.org>
Date
2023-08-01 14:04:21
Also in
linux-can, lkml, netdev
Reply to
Jiri Slaby (SUSE), 2023-08-01
On 8/1/23 15:22, 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: Max Staudt <max@enpas.org>
Thread (10 messages) 10 messages, 5 authors, last reply 2023-08-03
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