Commit db07a4c9 authored by Hari Prasath Gujulan Elango's avatar Hari Prasath Gujulan Elango Committed by Greg Kroah-Hartman

staging: lustre: remove dead code

This patch removes commented code.
Signed-off-by: default avatarHari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90c94b56
...@@ -1837,12 +1837,6 @@ static int try_to_add_extent_for_io(struct client_obd *cli, ...@@ -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, oap2 = list_first_entry(&tmp->oe_pages, struct osc_async_page,
oap_pending_item); oap_pending_item);
EASSERT(tmp->oe_owner == current, tmp); 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) { if (oap2cl_page(oap)->cp_type != oap2cl_page(oap2)->cp_type) {
CDEBUG(D_CACHE, "Do not permit different type of IO" CDEBUG(D_CACHE, "Do not permit different type of IO"
" for a same RPC\n"); " for a same RPC\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment