[PATCH] pid: remove next_pidmap() declaration

From: Nadav Amit
Date: Wed Feb 13 2019 - 13:56:55 EST


Commit 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API")
removed next_pidmap() but left its declaration.

Remove it. No functional change.

Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Cc: Gargi Sharma <gs051095@xxxxxxxxx>
Fixes: 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API")
Signed-off-by: Nadav Amit <namit@xxxxxxxxxx>
---
include/linux/pid.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/pid.h b/include/linux/pid.h
index 14a9a39da9c7..b6f4ba16065a 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -109,7 +109,6 @@ extern struct pid *find_vpid(int nr);
*/
extern struct pid *find_get_pid(int nr);
extern struct pid *find_ge_pid(int nr, struct pid_namespace *);
-int next_pidmap(struct pid_namespace *pid_ns, unsigned int last);

extern struct pid *alloc_pid(struct pid_namespace *ns);
extern void free_pid(struct pid *pid);
--
2.17.1