mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
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:
committed by
Greg Kroah-Hartman
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user