From: Greg KH <gregkh@linuxfoundation.org>
To: Anton Saraev <antonysaraev@gmail.com>
Cc: oleg.drokin@intel.com, andreas.dilger@intel.com,
heenasirwani@gmail.com, bergwolf@gmail.com,
amir.shehata@intel.com, gdonald@gmail.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function
Date: Wed, 29 Oct 2014 16:37:59 +0800 [thread overview]
Message-ID: <20141029083759.GA23302@kroah.com> (raw)
In-Reply-To: <993d3876f1afcf5aa80ee619adde33a44c9d0416.1414517099.git.antonysaraev@gmail.com>
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 :(
next prev parent reply other threads:[~2014-10-29 15:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 4:29 [PATCH 00/02] staging:lustre:lnet:selftest: fix sparse warnings Anton Saraev
2014-10-29 4:29 ` [PATCH 01/02] " Anton Saraev
2014-10-29 8:37 ` [PATCH v2 " Greg KH
2014-10-29 4:29 ` [PATCH 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev
2014-10-29 8:37 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-29 19:41 [PATCH v2 00/02] staging:lustre:lnet:selftest: fix sparse warnings Anton Saraev
2014-10-29 19:41 ` [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141029083759.GA23302@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=amir.shehata@intel.com \
--cc=andreas.dilger@intel.com \
--cc=antonysaraev@gmail.com \
--cc=bergwolf@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gdonald@gmail.com \
--cc=heenasirwani@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg.drokin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox