From: Varsha Rao <rvarsha016@gmail.com>
To: pablo@netfilter.org, netfilter-devel@vger.kernel.org
Cc: Varsha Rao <rvarsha016@gmail.com>
Subject: [PATCH nft 2/5] src: gmputil: Remove mpz_get_be64() function.
Date: Wed, 16 Aug 2017 19:48:14 +0530 [thread overview]
Message-ID: <20170816141817.20179-3-rvarsha016@gmail.com> (raw)
In-Reply-To: <20170816141817.20179-1-rvarsha016@gmail.com>
mpz_get_be64() is not used anywhere in source code. So remove it.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
include/gmputil.h | 1 -
src/gmputil.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/include/gmputil.h b/include/gmputil.h
index 1bf696a..9c37221 100644
--- a/include/gmputil.h
+++ b/include/gmputil.h
@@ -45,7 +45,6 @@ extern uint32_t mpz_get_uint32(const mpz_t op);
extern uint16_t mpz_get_uint16(const mpz_t op);
extern uint8_t mpz_get_uint8(const mpz_t op);
-extern uint64_t mpz_get_be64(const mpz_t op);
extern uint32_t mpz_get_be32(const mpz_t op);
extern uint16_t mpz_get_be16(const mpz_t op);
diff --git a/src/gmputil.c b/src/gmputil.c
index 844ea61..3cc4e61 100644
--- a/src/gmputil.c
+++ b/src/gmputil.c
@@ -77,11 +77,6 @@ uint8_t mpz_get_uint8(const mpz_t op)
return mpz_get_type(uint8_t, MPZ_HOST_ENDIAN, op);
}
-uint64_t mpz_get_be64(const mpz_t op)
-{
- return mpz_get_type(uint64_t, MPZ_BIG_ENDIAN, op);
-}
-
uint32_t mpz_get_be32(const mpz_t op)
{
return mpz_get_type(uint32_t, MPZ_BIG_ENDIAN, op);
--
2.13.5
next prev parent reply other threads:[~2017-08-16 14:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 14:18 [PATCH nft 0/5] src: Removes unused functions Varsha Rao
2017-08-16 14:18 ` [PATCH nft 1/5] src: Remove xt_stmt_() functions Varsha Rao
2017-08-16 14:18 ` Varsha Rao [this message]
2017-08-16 14:18 ` [PATCH nft 3/5] src: cli: Remove cli_display() function Varsha Rao
2017-08-16 14:18 ` [PATCH nft 4/5] src: netlink: Remove unused functions Varsha Rao
2017-08-16 14:18 ` [PATCH nft 5/5] src: mnl: " Varsha Rao
2017-08-19 12:11 ` [PATCH nft 0/5] src: Removes " Pablo Neira Ayuso
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=20170816141817.20179-3-rvarsha016@gmail.com \
--to=rvarsha016@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/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;
as well as URLs for NNTP newsgroup(s).