[PATCH] fs/devpts: remove unused macro PTMX_MINOR
From: Alex Shi
Date: Tue Jan 14 2020 - 08:04:11 EST
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 <alex.shi@xxxxxxxxxxxxxxxxx>
Cc: Varad Gautam <vrd@xxxxxxxxx>
Cc: Amir Goldstein <amir73il@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
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