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

- From: Greg KH \<gregkh@linuxfoundation.org\>
- Date: 2023-08-03 06:51:15 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/2289977
- Thread: https://ratatoskr.run/linux-serial/2023/08/2286622/t.md

```text
On Thu, Aug 03, 2023 at 07:08:07AM +0200, Jiri Slaby wrote:
> 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.

I'll take them, thanks!

greg k-h
```
