]> 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)
commit30a910158835d13ab5879c10b3c2c47ec59495c6
treed0587f43cf86e61cdcb72fd16aaf7192bd7ffe5f
parent133793e112e193da23ef0ffd1f9835b5996a439f
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