2020-01-14 13:06:55

by Alex Shi

[permalink] [raw]
Subject: [PATCH] fs/devpts: remove unused macro PTMX_MINOR

This macro are not used anymore from
commit 8ead9dd54716 ("devpts: more pty driver interface cleanups")
So it's better to remove it now.

Signed-off-by: Alex Shi <[email protected]>
Cc: Varad Gautam <[email protected]>
Cc: Amir Goldstein <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
---
fs/devpts/inode.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c
index 42e5a766d33c..ed1176682845 100644
--- a/fs/devpts/inode.c
+++ b/fs/devpts/inode.c
@@ -33,7 +33,6 @@
* permissions.
*/
#define DEVPTS_DEFAULT_PTMX_MODE 0000
-#define PTMX_MINOR 2

/*
* sysctl support for setting limits on the number of Unix98 ptys allocated.
--
1.8.3.1