lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 29 Oct 2014 16:37:59 +0800
From:	Greg KH <gregkh@...uxfoundation.org>
To:	Anton Saraev <antonysaraev@...il.com>
Cc:	oleg.drokin@...el.com, andreas.dilger@...el.com,
	heenasirwani@...il.com, bergwolf@...il.com, amir.shehata@...el.com,
	gdonald@...il.com, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Subject: Re: [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@...il.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 :(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ