staging: lustre: ldlm: remove 'flags' arg from ldlm_process_flock_lock()
authorNeilBrown <[email protected]>
Mon, 23 Oct 2017 00:53:49 +0000 (11:53 +1100)
committerGreg Kroah-Hartman <[email protected]>
Fri, 3 Nov 2017 13:55:21 +0000 (14:55 +0100)
commitace5cb0fd27e1392f42f27a68372b51a390333b4
treec5525d2bab3ad625145256cf1ea370cbb5c52464
parent990d86bded87f793f0e03a83e52ea86d3c50a48e
staging: lustre: ldlm: remove 'flags' arg from ldlm_process_flock_lock()

This is only ever set to LDLM_FL_WAIT_NOREPROC, so we can remove the arg
and discard any code that is only run when it doesn't have that value.

Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/lustre/lustre/ldlm/ldlm_flock.c