aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2022-02-22 07:28:52 -0800
committerJens Axboe <[email protected]>2022-02-27 14:49:49 -0700
commitdf00b1d26c3c3ff9dae4b572a6ad878ab65334e1 (patch)
tree0955411e6d67f2e2f8b4bc25fed0dfa102e0d29c /include/linux/fpga/fpga-mgr.h
parentc90b6b50b42dfdfeb27b02e670e812b69ff364f5 (diff)
null_blk: null_alloc_page() cleanup
Remove goto labels and use direct returns as error unwinding code only needs to free t_page variable if we alloc_pages() call fails as having two labels for one kfree() can be avoided easily. Signed-off-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions