Repository navigation
Commit 6f977e6
fork: unshare: remove dead code
If new_nsproxy is set we will always call switch_task_namespaces and
then set new_nsproxy back to NULL so the reassignment and fall through
check are redundant
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 5e62ade commit 6f977e6
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1861 | 1861 | | |
1862 | 1862 | | |
1863 | 1863 | | |
1864 | | - | |
| 1864 | + | |
1865 | 1865 | | |
1866 | | - | |
1867 | | - | |
1868 | 1866 | | |
1869 | 1867 | | |
1870 | 1868 | | |
| |||
1894 | 1892 | | |
1895 | 1893 | | |
1896 | 1894 | | |
1897 | | - | |
1898 | | - | |
1899 | | - | |
1900 | 1895 | | |
1901 | 1896 | | |
1902 | 1897 | | |
| |||
0 commit comments