linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs/devpts: remove unused macro PTMX_MINOR
@ 2020-01-14 13:04 Alex Shi
  0 siblings, 0 replies; only message in thread
From: Alex Shi @ 2020-01-14 13:04 UTC (permalink / raw)
  Cc: Alex Shi, Varad Gautam, Amir Goldstein, Thomas Gleixner, linux-kernel

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@linux.alibaba.com>
Cc: Varad Gautam <vrd@amazon.de> 
Cc: Amir Goldstein <amir73il@gmail.com> 
Cc: Thomas Gleixner <tglx@linutronix.de> 
Cc: linux-kernel@vger.kernel.org 
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-14 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 13:04 [PATCH] fs/devpts: remove unused macro PTMX_MINOR Alex Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).