lkml.org 
[lkml]   [2014]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function
On Tue, Oct 28, 2014 at 09:50:19PM +0400, Anton Saraev wrote:
> Function lnet_selftest_structure_assertion is never used and can
> be removed.
>
> Signed-off-by: Anton Saraev <antonysaraev@gmail.com>
> ---
> drivers/staging/lustre/lnet/selftest/module.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
> diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/selftest/module.c
> index 718663f..92520c2 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;
> }
>
> -static 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)
> {

This doesn't apply to my tree at all :(


\
 
 \ /
  Last update: 2014-10-29 17:01    [W:0.053 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site