]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/llite: Remove unnecessary check for NULL before iput()
authorTobias Klauser <tklauser@distanz.ch>
Mon, 26 May 2014 09:08:18 +0000 (11:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:33:49 +0000 (10:33 -0700)
commitc641e5b966c59eeea340d0764646d3699e5c7f8f
treee209ff1eacf5c89970b30656d8f1323facbd93a3
parent9b8ce55215689c3d8da27c36c80b63dd7a767571
staging/lustre/llite: Remove unnecessary check for NULL before iput()

iput() already checks for the inode being NULL, thus it's unnecessary to
check before calling.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c