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

- From: Simon Horman \<horms@kernel.org\>
- Date: 2023-08-01 12:26:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/08/2287208
- Thread: https://ratatoskr.run/linux-serial/2023/08/2286622/t.md

```text
On Tue, Aug 01, 2023 at 08:22:37AM +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>

```
