From: Hari Prasath Gujulan Elango Date: Wed, 8 Jul 2015 13:34:36 +0000 (+0000) Subject: staging: lustre: remove dead code X-Git-Tag: v4.14-rc1~4839^2~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db07a4c968fb5045c382be493bd2bd3ba8412b3e;p=platform%2Fkernel%2Flinux-rpi.git staging: lustre: remove dead code This patch removes commented code. Signed-off-by: Hari Prasath Gujulan Elango Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/osc/osc_cache.c b/drivers/staging/lustre/lustre/osc/osc_cache.c index 5592d32..c72035e 100644 --- a/drivers/staging/lustre/lustre/osc/osc_cache.c +++ b/drivers/staging/lustre/lustre/osc/osc_cache.c @@ -1837,12 +1837,6 @@ static int try_to_add_extent_for_io(struct client_obd *cli, oap2 = list_first_entry(&tmp->oe_pages, struct osc_async_page, oap_pending_item); EASSERT(tmp->oe_owner == current, tmp); -#if 0 - if (overlapped(tmp, ext)) { - OSC_EXTENT_DUMP(D_ERROR, tmp, "overlapped %p.\n", ext); - EASSERT(0, ext); - } -#endif if (oap2cl_page(oap)->cp_type != oap2cl_page(oap2)->cp_type) { CDEBUG(D_CACHE, "Do not permit different type of IO" " for a same RPC\n");