include/linux/pid.h: remove next_pidmap() declaration
authorNadav Amit <[email protected]>
Fri, 8 Mar 2019 00:27:18 +0000 (16:27 -0800)
committerLinus Torvalds <[email protected]>
Fri, 8 Mar 2019 02:31:59 +0000 (18:31 -0800)
Commit 95846ecf9dac ("pid: replace pid bitmap implementation with IDR
API") removed next_pidmap() but left its declaration.

Remove it.  No functional change.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Nadav Amit <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Gargi Sharma <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/pid.h

index 14a9a39da9c77eab3fa21cb05e2b30206ed526d9..b6f4ba16065a02a930784ac42d056a14629bf8c8 100644 (file)
@@ -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);