Re: [PATCH 2/2] tty: Remove stale parameter comment

From: Peter Hurley
Date: Sun Apr 10 2016 - 14:49:20 EST


On 04/10/2016 01:24 AM, Jiri Slaby wrote:
> On 04/10/2016, 05:36 AM, Peter Hurley wrote:
>> noctty was removed as a parameter by commit 216513411937586
>
> It is actually 11e1d4aa4da.

Right; not sure where that number came from.


>
>> ("tty: Consolidate noctty check in tty_open()").
>>
>> Signed-off-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
>> ---
>> drivers/tty/tty_io.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
>> index 3cdd63b..50979be 100644
>> --- a/drivers/tty/tty_io.c
>> +++ b/drivers/tty/tty_io.c
>> @@ -1960,7 +1960,6 @@ static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp)
>> * tty_lookup_driver - lookup a tty driver for a given device file
>> * @device: device number
>> * @filp: file pointer to tty
>> - * @noctty: set if the device should not become a controlling tty
>> * @index: index for the device in the @return driver
>> * @return: driver for this inode (with increased refcount)
>> *
>>
>
>