# Re: \[PATCH 2/2\] net: nfc: remove casts from tty-\>disc\_data

- From: Jiri Slaby \<jirislaby@kernel.org\>
- Date: 2023-08-03 05:08:17 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/2289900
- Thread: https://ratatoskr.run/linux-serial/2023/08/2286622/t.md

```text
On 02. 08. 23, 21:07, Jakub Kicinski wrote:
> On Tue,  1 Aug 2023 08:22:37 +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.
>
> Which tree are these expected to flow thru?

The intention was through the tty tree. But I don't mind either way -- it's up to you Greg.

thanks,
-- 
js
suse labs

```
