Re: [patch 08/11] jfs: cleanup unload_nls() calls

From: Dave Kleikamp
Date: Fri Aug 14 2009 - 11:17:45 EST


On Fri, 2009-08-14 at 12:43 +0000, Thomas Gleixner wrote:

> unload_nls() can be called with a NULL pointer now. Remove the pointer
> check and the NULLification of the pointer as the data structure which
> contains the pointer is kfree'd right away.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>

> ---
> fs/jfs/super.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)

--
David Kleikamp
IBM Linux Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/