Skip to contentSkip to conversation

staging: lustre: lov: remove dead code

PATCH New Dmitriy Cherkasov 1 participant 1 message Jul 29, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: lustre: lov: remove dead code

This #if 0 block has been commented out for years. Assume it is not needed and remove it.

---
 drivers/staging/lustre/lustre/lov/lov_io.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/staging/lustre/lustre/lov/lov_io.c +0 -6
index babf39a..0fb5723 100644
@@ -939,12 +939,6 @@ static void lov_empty_impossible(const struct lu_env *env,
 	.op = {
 		[CIT_READ] = {
 			.cio_fini       = lov_empty_io_fini,
-#if 0
-			.cio_iter_init  = LOV_EMPTY_IMPOSSIBLE,
-			.cio_lock       = LOV_EMPTY_IMPOSSIBLE,
-			.cio_start      = LOV_EMPTY_IMPOSSIBLE,
-			.cio_end	= LOV_EMPTY_IMPOSSIBLE
-#endif
 		},
 		[CIT_WRITE] = {
 			.cio_fini      = lov_empty_io_fini,
Signature · 1 line
1.9.1