diff options
author | Christoph Hellwig <[email protected]> | 2022-09-21 20:04:49 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-26 19:09:31 -0600 |
commit | f753526e327bc849c445c084d0f374e992038ae9 (patch) | |
tree | c27a5b9517059afbd651744999bf73add92fb07e /drivers/fpga/fpga-mgr.c | |
parent | 4a69f325aa43847e0827fbfe4b3623307b0c9baa (diff) |
blk-cgroup: remove blkg_lookup_check
The combinations of an error check with an ERR_PTR return and a lookup
with a NULL return leads to ugly handling of the return values in the
callers. Just open coding the check and the lookup is much simpler.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Andreas Herrmann <[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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions