Commit 553d8ae8 authored by Anton Saraev's avatar Anton Saraev Committed by Greg Kroah-Hartman

staging:lustre:lnet:selftest: remove unused function

Function lnet_selftest_structure_assertion is never used and can
be removed.
Signed-off-by: default avatarAnton Saraev <antonysaraev@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8d94b6d2
......@@ -90,17 +90,6 @@ lnet_selftest_fini(void)
return;
}
void
lnet_selftest_structure_assertion(void)
{
CLASSERT(sizeof(srpc_msg_t) == 160);
CLASSERT(sizeof(srpc_test_reqst_t) == 70);
CLASSERT(offsetof(srpc_msg_t, msg_body.tes_reqst.tsr_concur) == 72);
CLASSERT(offsetof(srpc_msg_t, msg_body.tes_reqst.tsr_ndest) == 78);
CLASSERT(sizeof(srpc_stat_reply_t) == 136);
CLASSERT(sizeof(srpc_stat_reqst_t) == 28);
}
static int
lnet_selftest_init(void)
{
......
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