]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit991da04eab9d26d973537ac1fef54c723bd82e71
treed0587f43cf86e61cdcb72fd16aaf7192bd7ffe5f
parenta5542a22387b75b8504170acddf6f6fdcfecc487
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