public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: dwz@sourceware.org, jakub@redhat.com, mark@klomp.org
Subject: [committed] Remove USED and UNUSED annotations
Date: Mon, 15 Mar 2021 10:38:28 +0100	[thread overview]
Message-ID: <20210315093827.GA6526@delia> (raw)

Hi,

Remove the USED and UNUSED annotations, where they are no longer required.

Committed to trunk.

Thanks,
- Tom

Remove USED and UNUSED annotations

2021-03-15  Tom de Vries  <tdevries@suse.de>

	* dwz.c (estimate_nr_dies, emulate_htab, die_odr_state): Remove
	UNUSED.
	(dump_die): Remove USED.

---
 dwz.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dwz.c b/dwz.c
index 956062a..cd06dc6 100644
--- a/dwz.c
+++ b/dwz.c
@@ -2045,7 +2045,7 @@ read_debug_line (DSO *dso, dw_cu_ref cu, uint32_t off)
 
 /* Estimate the amount of DIEs in the .debug_info section, based on the size
    of that section.  */
-static unsigned int UNUSED
+static unsigned int
 estimate_nr_dies (void)
 {
   unsigned int average_die_size = 11;
@@ -2053,7 +2053,7 @@ estimate_nr_dies (void)
   return nr_dies;
 }
 
-static size_t UNUSED
+static size_t
 emulate_htab (size_t initial, size_t final_nr_elements)
 {
   size_t size = initial;
@@ -3363,7 +3363,7 @@ set_die_odr_state (dw_cu_ref cu, dw_die_ref die)
 }
 
 /* Return the initialized die_odr_state field for DIE with CU.  */
-static unsigned int UNUSED
+static unsigned int
 die_odr_state (dw_die_ref die)
 {
   assert (die->die_odr_state != ODR_UNKNOWN);
@@ -5597,7 +5597,7 @@ dump_die_with_indent (int indent, dw_die_ref die)
 }
 
 /* Dump DIE to stderr.  */
-static void USED
+static void
 dump_die (dw_die_ref die)
 {
   dump_die_with_indent (0, die);

                 reply	other threads:[~2021-03-15  9:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210315093827.GA6526@delia \
    --to=tdevries@suse.de \
    --cc=dwz@sourceware.org \
    --cc=jakub@redhat.com \
    --cc=mark@klomp.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 read-only IMAP folder(s) and NNTP newsgroup(s).