Commit 1c8effb
committed
group1: cpusetController.getValues: don't use naked returns
Explicitly return nil instead of potentially returning a partial
result (only cpus or mems). Also re-format the code to prevent
these variables being confused for local to the if branch.
Signed-off-by: Sebastiaan van Stijn <[email protected]>1 parent d4e976d commit 1c8effb
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | | - | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
0 commit comments