Re: Curious about tty_port_operations drop() callback.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Jan 2013 16:38:54 +0000 (UTC)
Grant Edwards <grant.b.edwards@xxxxxxxxx> wrote:

> While testing/debugging the tty driver I've changed to use the
> tty_port_* helper functions, I noticed there are two
> tty_port_operation fields that I'm not providing: destruct() and
> drop(). There's an example of destruct() usage in the hvc driver and a
> comment in tty.h explaining when it's called, so that's fairly
> obvious.
> 
> I haven't been able to figure out the purpose of the drop() callback.
> It's not used anywhere and there is no comment in tty.h hinting at its
> purpose.

It may well no longer be needed. If so then I'm all for its removal.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux