staging: lustre: lustre: obdclass: lprocfs_status.c: Removed an unnecessary NULL check

Removed an unnecessary NULL check.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rickard Strandqvist 2014-12-21 19:30:50 +01:00 committed by Greg Kroah-Hartman
parent 439d9eadf6
commit e9a8606905

View File

@ -1881,7 +1881,7 @@ int lprocfs_write_frac_u64_helper(const char *buffer, unsigned long count,
if (pbuf == end)
return -EINVAL;
if (end != NULL && *end == '.') {
if (*end == '.') {
int i;
pbuf = end + 1;