aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-05-29 16:17:02 +0100
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:31 +0200
commit798f4d95db0d71a2803c61b5e1fd5b739569c3da (patch)
tree66ef28b6c6f80795c22b8333caad02bd9ee1c2e9 /include/scsi/scsi_host.h
parentf38462c4476cc57ef0e739bc8b8bc8f0a5754b3b (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/scsi/scsi_host.h')
0 files changed, 0 insertions, 0 deletions