Re: [PATCH] Remove pty_ops_bsd and pty_bsd_ioctl() as they're not used

From: David Howells
Date: Mon Sep 28 2009 - 10:57:08 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> > Possibly legacy_pty_init() should be passing this to tty_set_operations()
> > rather than pty_ops.
>
> It should indeed, otherwise the BSD pty locking ioctl fails.

In that case, what should be using pty_ops? If CONFIG_LEGACY_PTYS=n, then I
see:

drivers/char/pty.c:314: warning: unused variable `pty_ops'

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/