aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2022-11-04 20:59:00 -0400
committerJens Axboe <[email protected]>2022-11-16 16:58:44 -0700
commitb5a9adcbd5dc95d34d1f5fc84eff9af6fc60d284 (patch)
treeebd636e9f4c07223f794d6e4d9bcce883470014b /tools/perf/scripts/python
parent077a4033541fc96fb0a955985aab7d1f353da831 (diff)
blk-cgroup: Return -ENOMEM directly in blkcg_css_alloc() error path
For blkcg_css_alloc(), the only error that will be returned is -ENOMEM. Simplify error handling code by returning this error directly instead of setting an intermediate "ret" variable. Signed-off-by: Waiman Long <[email protected]> Reviewed-by: Ming Lei <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions