Re: [PATCH 1/2] can: can327: remove casts from tty->disc_data
From: Max Staudt
Date: Tue Aug 01 2023 - 10:04:17 EST
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@xxxxxxxxxx>
Thanks for spotting this!
Reviewed-by: Max Staudt <max@xxxxxxxxx>