summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bio.c b/block/bio.c
index e4682ec11fcd..0fde6e0e81f2 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1746,7 +1746,7 @@ static inline bool bio_remaining_done(struct bio *bio)
void bio_endio(struct bio *bio)
{
again:
- if (unlikely(!bio_remaining_done(bio)))
+ if (!bio_remaining_done(bio))
return;
/*