taskstats: tidy up the cpumask command path
Status from this message: [merged mm-nonmm-stable] taskstats-fold-the-two-cpumask-handlers-into-one.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | taskstats: drop the dead NULL attribute check in parse()kernel/ | +0 | 0 replies | Applied |
| 2/2 | taskstats: fold the two cpumask handlers into onekernel/ | +12 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] taskstats: tidy up the cpumask command path
Two small cleanups from reading kernel/taskstats.c. No functional change in either one.
Patch 1 removes an unreachable NULL attribute check in parse(). Its stray "return 1" is not an error to any caller, so had the path ever been reached it would have registered listeners against an uninitialized cpumask.
Patch 2 folds cmd_attr_register_cpumask() and cmd_attr_deregister_cpumask() together, since they only differed in one attribute and one action.
Bradley Morgan (2):
taskstats: drop the dead NULL attribute check in parse()
taskstats: fold the two cpumask handlers into one
kernel/taskstats.c | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-)
Signature · 1 line
2.47.3