summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Saraev <antonysaraev@gmail.com>2014-10-29 23:41:50 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-29 16:27:48 -0700
commit553d8ae8056d13f1562a9c91714ccb2f9fb94339 (patch)
tree6a4e8ff71fb79f0146a3b37599814df9ed8dcc9c
parent8d94b6d22403cf4aebfbd246bb781501366db005 (diff)
staging:lustre:lnet:selftest: remove unused function
Function lnet_selftest_structure_assertion is never used and can be removed. Signed-off-by: Anton Saraev <antonysaraev@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lnet/selftest/module.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/selftest/module.c
index b2dd891f3734..92520c2e08fd 100644
--- a/drivers/staging/lustre/lnet/selftest/module.c
+++ b/drivers/staging/lustre/lnet/selftest/module.c
@@ -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)
{