mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
9b00a5f509
kvfree(NULL) is safe. NULL check before kvfree() is not needed. Delete them to simplify the code. Generated by coccinelle script: scripts/coccinelle/free/ifnullfree.cocci Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Reviewed-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20220606131401.4053036-1-william.xuanziyang@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> |
||
---|---|---|
.. | ||
common.c | ||
common.h | ||
Kconfig | ||
Makefile | ||
p8_i2c.c | ||
p9_sbe.c | ||
sysfs.c |