lkml.org 
[lkml]   [2020]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fs/devpts: remove unused macro PTMX_MINOR
Date
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
\
 
 \ /
  Last update: 2020-01-14 14:04    [W:0.020 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site