[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1579007043-131766-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Tue, 14 Jan 2020 21:04:03 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Alex Shi <alex.shi@...ux.alibaba.com>,
Varad Gautam <vrd@...zon.de>,
Amir Goldstein <amir73il@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
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 <alex.shi@...ux.alibaba.com>
Cc: Varad Gautam <vrd@...zon.de>
Cc: Amir Goldstein <amir73il@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.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
Powered by blists - more mailing lists