Commit c1e33af
pty: Remove pty_unix98_shutdown()
The tty core invokes the optional driver shutdown() just before
the optional driver remove() (shutdown() has access to the termios
and remove() does not). Because pty drivers must prevent the default
remove() action, the Unix98 pty drivers define a dummy remove() function.
Instead, release the slave index in the remove() method and delete the
optional shutdown() method.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 05de87e commit c1e33af
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | 659 | | |
663 | 660 | | |
664 | 661 | | |
665 | 662 | | |
666 | 663 | | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | 664 | | |
672 | | - | |
| 665 | + | |
673 | 666 | | |
674 | 667 | | |
675 | 668 | | |
| |||
687 | 680 | | |
688 | 681 | | |
689 | 682 | | |
690 | | - | |
691 | 683 | | |
692 | 684 | | |
693 | 685 | | |
| |||
705 | 697 | | |
706 | 698 | | |
707 | 699 | | |
708 | | - | |
709 | 700 | | |
710 | 701 | | |
711 | 702 | | |
| |||
0 commit comments