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:
parent
439d9eadf6
commit
e9a8606905
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user