tty: Remove some pointless casts
disc_data and driver_data are void * Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -306,7 +306,7 @@ int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *t
|
||||
*/
|
||||
int paste_selection(struct tty_struct *tty)
|
||||
{
|
||||
struct vc_data *vc = (struct vc_data *)tty->driver_data;
|
||||
struct vc_data *vc = tty->driver_data;
|
||||
int pasted = 0;
|
||||
unsigned int count;
|
||||
struct tty_ldisc *ld;
|
||||
|
||||
Reference in New Issue
Block a user