Commit 0241e9e
cpuset: simplify node setting on error
There is no need to jump to the 'done' label upon failure, as no cleanup
is required. Return the error code directly instead.
Signed-off-by: Chen Ridong <[email protected]>
Reviewed-by: Waiman Long <[email protected]>
Reviewed-by: Michal Koutný <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 01a7435 commit 0241e9e
1 file changed
+9
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2897 | 2897 | | |
2898 | 2898 | | |
2899 | 2899 | | |
2900 | | - | |
| 2900 | + | |
2901 | 2901 | | |
2902 | 2902 | | |
2903 | | - | |
2904 | | - | |
2905 | | - | |
2906 | | - | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
2907 | 2909 | | |
2908 | | - | |
2909 | | - | |
2910 | | - | |
2911 | | - | |
2912 | 2910 | | |
2913 | 2911 | | |
2914 | | - | |
| 2912 | + | |
2915 | 2913 | | |
2916 | 2914 | | |
2917 | 2915 | | |
| |||
2921 | 2919 | | |
2922 | 2920 | | |
2923 | 2921 | | |
2924 | | - | |
2925 | | - | |
| 2922 | + | |
2926 | 2923 | | |
2927 | 2924 | | |
2928 | 2925 | | |
| |||
0 commit comments