public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: binfmt_misc: attribute used or unused
Date: Sun, 11 Apr 2004 13:48:26 +1000	[thread overview]
Message-ID: <20040411034826.GA22471@krispykreme> (raw)


Hi,

Any idea why we have an attribute((unused)) here? I was going to
convert it to __attribute_used__ so it handles gcc's schizophrenic
behaviour but then realised it all looks bogus.

Anton

===== fs/binfmt_misc.c 1.24 vs edited =====
--- 1.24/fs/binfmt_misc.c	Wed Feb 25 21:34:47 2004
+++ edited/fs/binfmt_misc.c	Sun Apr 11 13:42:02 2004
@@ -52,7 +52,7 @@
 	struct dentry *dentry;
 } Node;
 
-static rwlock_t entries_lock __attribute__((unused)) = RW_LOCK_UNLOCKED;
+static rwlock_t entries_lock = RW_LOCK_UNLOCKED;
 static struct vfsmount *bm_mnt;
 static int entry_count;
 

                 reply	other threads:[~2004-04-11  3:52 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=20040411034826.GA22471@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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