diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-02-07 22:35:25 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 22:23:07 +0300 |
commit | 1c3fe2fa946342a784a1375a63be6eb5a25acd76 (patch) | |
tree | ff3144c87bb004de96df6a91ac18c790cf0edcec /drivers/md/dm-thin-metadata.c | |
parent | ae99111ecf70c3003b4b1ba38b95fbe35410b2a6 (diff) | |
download | linux-1c3fe2fa946342a784a1375a63be6eb5a25acd76.tar.xz |
dm: avoid useless 'else' after 'break' or return'
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
-rw-r--r-- | drivers/md/dm-thin-metadata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-thin-metadata.c b/drivers/md/dm-thin-metadata.c index 2b12e0e2c879..fd464fb024c3 100644 --- a/drivers/md/dm-thin-metadata.c +++ b/drivers/md/dm-thin-metadata.c @@ -1612,8 +1612,8 @@ static int __find_mapped_range(struct dm_thin_device *td, if (r) { if (r == -ENODATA) break; - else - return r; + + return r; } if ((lookup.block != pool_end) || |