aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorWang Long <[email protected]>2018-05-21 02:38:26 +0000
committerTheodore Ts'o <[email protected]>2018-05-21 02:38:26 +0000
commit8bdd5b60e0273e6682d5c269c70e6287ae60eb55 (patch)
treef7b345a2e9844b29a67c285d482b61ac1a5e1781 /drivers/fpga/machxo2-spi.c
parentjbd2: remove bunch of empty lines with jbd2 debug (diff)
downloadkernel-8bdd5b60e0273e6682d5c269c70e6287ae60eb55.tar.gz
kernel-8bdd5b60e0273e6682d5c269c70e6287ae60eb55.zip
jbd2: remove NULL check before calling kmem_cache_destroy()
The kmem_cache_destroy() function already checks for null pointers, so we can remove the check at the call site. This patch also sets jbd2_handle_cache and jbd2_inode_cache to be NULL after freeing them in jbd2_journal_destroy_handle_cache(). Signed-off-by: Wang Long <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Reviewed-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions