diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-05-29 16:17:02 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:31 +0200 |
commit | 798f4d95db0d71a2803c61b5e1fd5b739569c3da (patch) | |
tree | 66ef28b6c6f80795c22b8333caad02bd9ee1c2e9 /include/acpi/actbl2.h | |
parent | f38462c4476cc57ef0e739bc8b8bc8f0a5754b3b (diff) |
btrfs: get rid of label and goto at insert_delayed_ref()
At insert_delayed_ref() there's no point of having a label and goto in the
case we were able to insert the delayed ref head. We can just add the code
under label to the if statement's body and return immediately, and also
there is no need to track the return value in a variable, we can just
return a literal true or false value directly. So do those changes.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/acpi/actbl2.h')
0 files changed, 0 insertions, 0 deletions