[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121026131441.GA22256@andromeda.usersys.redhat.com>
Date: Fri, 26 Oct 2012 11:14:41 -0200
From: Carlos Maiolino <cmaiolino@...hat.com>
To: Abhijit Pawar <abhi.c.pawar@...il.com>
Cc: linux-fsdevel@...r.kernel.org,
"linux-btrfs@...r.kernel.org" <linux-btrfs@...r.kernel.org>,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org
Subject: Re: [RESEND PATCH] fs/super.c set_anon_super calling optimization
Hi,
On Thu, Oct 25, 2012 at 05:08:19PM +0530, Abhijit Pawar wrote:
> Hi,
> set_anon_super is called by many filesystems. Some call directly and
> some call through the wrapper. Many of them in the wrapper's call to
> this function are passing the second argument to this function which
> is not used anywhere.
>
> This patch replaces the second variable with NULL.
>
If the variable isn't used anymore, why don't just get rid of it, instead of
call the function passing a NULL pointer on it?
--
--Carlos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists