author: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-26 11:20:10 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-26 11:20:10 -0700
commit: d08410d8c9908058a2f69b55e24edfb0d19da7a1
parent: 8900d92fd666d936a7bfb4c567ac26736a414fb4
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/drivers/pps/clients/pps-ldisc.c b/drivers/pps/clients/pps-ldisc.c
index 4fd0cbf7f931..bf26cc56b863 100644
--- a/drivers/pps/clients/pps-ldisc.c
+++ b/drivers/pps/clients/pps-ldisc.c
@@ -13,8 +13,6 @@
#include <linux/pps_kernel.h>
#include <linux/bug.h>
-#define PPS_TTY_MAGIC 0x0001
-
static void pps_tty_dcd_change(struct tty_struct *tty, unsigned int status)
{
struct pps_device *pps;
@@ -114,7 +112,6 @@ static int __init pps_tty_init(void)
/* Init PPS_TTY data */
pps_ldisc_ops.owner = THIS_MODULE;
- pps_ldisc_ops.magic = PPS_TTY_MAGIC;
pps_ldisc_ops.name = "pps_tty";
pps_ldisc_ops.dcd_change = pps_tty_dcd_change;
pps_ldisc_ops.open = pps_tty_open;