Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f341a4d3 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Jens Axboe
Browse files

block: remove useless assignment in bio_split



Remove useless assignment to the variable "split" because the variable is
unconditionally assigned later.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1addb798
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1819,7 +1819,7 @@ EXPORT_SYMBOL(bio_endio);
struct bio *bio_split(struct bio *bio, int sectors,
		      gfp_t gfp, struct bio_set *bs)
{
	struct bio *split = NULL;
	struct bio *split;

	BUG_ON(sectors <= 0);
	BUG_ON(sectors >= bio_sectors(bio));