From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932199AbdJWAzE (ORCPT ); Sun, 22 Oct 2017 20:55:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:55627 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932151AbdJWAzD (ORCPT ); Sun, 22 Oct 2017 20:55:03 -0400 From: NeilBrown To: Oleg Drokin , James Simmons , Andreas Dilger , Greg Kroah-Hartman Date: Mon, 23 Oct 2017 11:53:49 +1100 Subject: [PATCH 0/9] Assorted cleanups for staging/.../lustre/ldlm/ldlm_flock.c Cc: lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org Message-ID: <150871988297.3340.4522589460981284121.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This file contains quite a bit of dead code and unused variables. This patch series cleans it up in various ways. It should change behaviour at all, just code readability/maintainabilty. I sent the back in July but got not response, possibly because there were included with other patches which caused a distraction. So here they are by themselves. Thanks, NeilBrown --- NeilBrown (9): staging: lustre: ldlm: remove 'first_enq' arg from ldlm_process_flock_lock() staging: lustre: ldlm: remove unused 'work_list' arg from ldlm_process_flock_lock() staging: lustre: ldlm: remove unneeded 'err' arg to ldlm_process_flock_lock() staging: lustre: ldlm: remove 'flags' arg from ldlm_process_flock_lock() staging: lustre: ldlm: remove unused 'overlaps' variable staging: lustre: ldlm: remove 'flags' arg from ldlm_flock_destroy() staging: lustre: ldlm: tidy list walking in ldlm_flock() staging: lustre: ldlm: remove unnecessary 'ownlocks' variable. staging: lustre: ldlm: remove unused field 'fwd_generation' drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 208 +++++------------------ 1 file changed, 42 insertions(+), 166 deletions(-) -- Signature