diff options
author | David Howells <dhowells@redhat.com> | 2018-01-02 10:12:01 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-01-17 06:30:16 -0500 |
commit | e1e871aff3ded26348c631b1370e257d401cd22d (patch) | |
tree | 8472a601e7318517c58e97787c390493839f9a26 /include/linux | |
parent | 3678e2fcc293cf2ff1fe961838734a70c185de8a (diff) |
Expand INIT_STRUCT_PID and remove
Expand INIT_STRUCT_PID in the single place that uses it and then remove it.
There doesn't seem any point in the macro.
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: Will Deacon <will.deacon@arm.com> (arm64)
Tested-by: Palmer Dabbelt <palmer@sifive.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/init_task.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 5b5f41328115..a454b8aeb938 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -46,21 +46,6 @@ extern struct cred init_cred; | |||
46 | #define INIT_CPU_TIMERS(s) | 46 | #define INIT_CPU_TIMERS(s) |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | |||
50 | #define INIT_STRUCT_PID { \ | ||
51 | .count = ATOMIC_INIT(1), \ | ||
52 | .tasks = { \ | ||
53 | { .first = NULL }, \ | ||
54 | { .first = NULL }, \ | ||
55 | { .first = NULL }, \ | ||
56 | }, \ | ||
57 | .level = 0, \ | ||
58 | .numbers = { { \ | ||
59 | .nr = 0, \ | ||
60 | .ns = &init_pid_ns, \ | ||
61 | }, } \ | ||
62 | } | ||
63 | |||
64 | #define INIT_PID_LINK(type) \ | 49 | #define INIT_PID_LINK(type) \ |
65 | { \ | 50 | { \ |
66 | .node = { \ | 51 | .node = { \ |