xfs
[Top] [All Lists]

Re: [PATCH 7/7] - remove unused variable from locking macros

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH 7/7] - remove unused variable from locking macros
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 20 Jul 2007 08:30:23 +0100
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <46A03631.7060604@xxxxxxxxxxx>
References: <46A03631.7060604@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.3i
On Thu, Jul 19, 2007 at 11:12:33PM -0500, Eric Sandeen wrote:
> The "s" in these locking macros used to be used like flags
> in spin_lock_irqsave; but in the xfs codebase today it's 
> never used.
> 
> gcc optimizes it away, but still, why keep it around?

If we change away from the IRIX compatible signatures we could just
kill the lock wrappers aswell..


<Prev in Thread] Current Thread [Next in Thread>