staging: lustre: lustre: mdc: mdc_lib.c: Removed an unnecessary NULL check
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Wed, 17 Dec 2014 22:42:53 +0000 (23:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:43:17 +0000 (15:43 -0800)
commitcc1cf0e0e6566afcf9fd5346c0fe3c3fd6b9b2ac
tree398909bb20b49a77ffd5192685d06d3c6609c6e5
parentf56cb9da50ea8c38d397534cd45aff53d7f693dc
staging: lustre: lustre: mdc: mdc_lib.c: Removed an unnecessary NULL check

Removed an unnecessary NULL check.
I have checked the only place this function is called from.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_lib.c