Skip to contentSkip to conversation

fs/cachefiles: remove redundant continue statement

PATCH New Colin King 1 participant 1 message Jun 18, 2021

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 fs/cachefiles: remove redundant continue statement

From: Colin Ian King <[email protected]>

The continue statement at the end of a loop has no effect, remove it.

Addresses-Coverity: ("Continue has no effect")

---
 fs/cachefiles/rdwr.c | 1 -
 1 file changed, 1 deletion(-)
fs/cachefiles/rdwr.c +0 -1
index 8ffc40e84a59..2b6e2ea1d2e4 100644
@@ -629,7 +629,6 @@ static int cachefiles_read_backing_file(struct cachefiles_object *object,
 		put_page(netpage);
 		netpage = NULL;
 		fscache_retrieval_complete(op, 1);
-		continue;
 	}
 
 	netpage = NULL;
Signature · 1 line
2.31.1