mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
block: remove useless assignment in bio_split
Remove useless assignment to the variable "split" because the variable is unconditionally assigned later. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
1 parent
1addb798e9
commit
f341a4d384
1 file changed
+1
-1
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user