staging: gasket: remove null ptr check before kfree
authorSumit Kumar <sumit686215@gmail.com>
Sun, 12 Aug 2018 07:08:19 +0000 (12:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:42:32 +0000 (19:42 +0200)
commit3c0971939e5682bf8c20bdf240900d5014107b57
treed0587f43cf86e61cdcb72fd16aaf7192bd7ffe5f
parent2b2424d9a7e35d05cddf94f3e65a375855064505
staging: gasket: remove null ptr check before kfree

Remove null ptr check before kfree because kfree is null ptr safe.
Issue found by checkpatch.

Signed-off-by: Sumit Kumar <sumit686215@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c