staging: lustre: mdc: Removed unneeded NULL check
authorHenri Doreau <henri.doreau@cea.fr>
Mon, 3 Oct 2016 02:28:17 +0000 (22:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:32 +0000 (10:24 +0200)
commit6ffa4ec96c8c54f2ad893aba6f833f20e9864d32
treed4d79fc784ba7b1c340a32d622190ef9556d9e2e
parenta823acf590343f1cd15b305f860271caf31d1674
staging: lustre: mdc: Removed unneeded NULL check

Do not bother checking the return value of changelog_kuc_hdr()
against NULL since this value was dereferenced earlier.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4189
Reviewed-on: http://review.whamcloud.com/12919
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_request.c