[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150324123021.GS10964@mwanda>
Date: Tue, 24 Mar 2015 15:30:21 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Benjamin Romer <benjamin.romer@...sys.com>,
David Kershner <david.kershner@...sys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org, sparmaintainer@...sys.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 1/4] staging: unisys: remove unneeded comparison
On Tue, Mar 24, 2015 at 05:47:34PM +0530, Sudip Mukherjee wrote:
> visorchipset_file_cleanup() is called from visorchipset_exit() which
> is the module_exit function and this function is executing means
> module_init succeeded, so registered will always be true at this time.
> and majordev has also been initialized in the init function. hence
> these comparisons will always be true.
>
> Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
This is a partial patch. The "one thing per patch" means don't do half
a thing per patch.
We now set "registered" but there are no users.
regards,
dan carpenter
--
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