Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cddd707 authored by Cedric Le Goater's avatar Cedric Le Goater Committed by Linus Torvalds
Browse files

[PATCH] mxser: remove useless fields



the session and pgrp fields in mxser_struct are unused.

Signed-off-by: default avatarCedric Le Goater <clg@fr.ibm.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 87d156bf
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -321,8 +321,6 @@ struct mxser_struct {
	unsigned long event;
	int count;		/* # of fd on device */
	int blocked_open;	/* # of blocked opens */
	long session;		/* Session of opening process */
	long pgrp;		/* pgrp of opening process */
	unsigned char *xmit_buf;
	int xmit_head;
	int xmit_tail;
@@ -1001,9 +999,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp)
		mxser_change_speed(info, NULL);
	}

	info->session = process_session(current);
	info->pgrp = process_group(current);

	/*
	status = mxser_get_msr(info->base, 0, info->port);
	mxser_check_modem_status(info, status);