File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1924,7 +1924,6 @@ EXPORT_SYMBOL_GPL(tty_kopen);
1924
1924
/**
1925
1925
* tty_open_by_driver - open a tty device
1926
1926
* @device: dev_t of device to open
1927
- * @inode: inode of device file
1928
1927
* @filp: file pointer to tty
1929
1928
*
1930
1929
* Performs the driver lookup, checks for a reopen, or otherwise
@@ -1937,7 +1936,7 @@ EXPORT_SYMBOL_GPL(tty_kopen);
1937
1936
* - concurrent tty driver removal w/ lookup
1938
1937
* - concurrent tty removal from driver table
1939
1938
*/
1940
- static struct tty_struct * tty_open_by_driver (dev_t device , struct inode * inode ,
1939
+ static struct tty_struct * tty_open_by_driver (dev_t device ,
1941
1940
struct file * filp )
1942
1941
{
1943
1942
struct tty_struct * tty ;
@@ -2029,7 +2028,7 @@ static int tty_open(struct inode *inode, struct file *filp)
2029
2028
2030
2029
tty = tty_open_current_tty (device , filp );
2031
2030
if (!tty )
2032
- tty = tty_open_by_driver (device , inode , filp );
2031
+ tty = tty_open_by_driver (device , filp );
2033
2032
2034
2033
if (IS_ERR (tty )) {
2035
2034
tty_free_file (filp );
You can’t perform that action at this time.
0 commit comments