[PATCH] staging: lustre: lov: remove dead code

2017-07-28 Thread Dmitriy Cherkasov
This #if 0 block has been commented out for years. Assume it is not
needed and remove it.

Signed-off-by: Dmitriy Cherkasov 
---
 drivers/staging/lustre/lustre/lov/lov_io.c | 6 --
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/lustre/lustre/lov/lov_io.c 
b/drivers/staging/lustre/lustre/lov/lov_io.c
index babf39a..0fb5723 100644
--- a/drivers/staging/lustre/lustre/lov/lov_io.c
+++ b/drivers/staging/lustre/lustre/lov/lov_io.c
@@ -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,
-- 
1.9.1



[PATCH] staging: lustre: lov: remove dead code

2017-07-28 Thread Dmitriy Cherkasov
This #if 0 block has been commented out for years. Assume it is not
needed and remove it.

Signed-off-by: Dmitriy Cherkasov 
---
 drivers/staging/lustre/lustre/lov/lov_io.c | 6 --
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/lustre/lustre/lov/lov_io.c 
b/drivers/staging/lustre/lustre/lov/lov_io.c
index babf39a..0fb5723 100644
--- a/drivers/staging/lustre/lustre/lov/lov_io.c
+++ b/drivers/staging/lustre/lustre/lov/lov_io.c
@@ -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,
-- 
1.9.1