From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751957AbbKGHlc (ORCPT ); Sat, 7 Nov 2015 02:41:32 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35230 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832AbbKGHla (ORCPT ); Sat, 7 Nov 2015 02:41:30 -0500 From: Shivani Bhardwaj To: gregkh@linuxfoundation.org Cc: oleg.drokin@intel.com, andreas.dilger@intel.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/9] Remove wrapper function and tidy up the code Date: Sat, 7 Nov 2015 13:10:36 +0530 Message-Id: X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset removes an unnecessary wrapper function and replaces all its calls in different files with the standard function that it wrapped. Also, one patch removes its prototype. After applying this patch, code becomes cleaner. Shivani Bhardwaj (9): Staging: lustre: dir: Replace function calls Staging: lustre: file: Replace function calls with standard function Staging: lustre: namei: Replace calls with kfree Staging: lustre: xattr_cache: Change function calls Staging: lustre: symlink: Substitute standard function Staging: lustre: llite_nfs: Replace with standard function Staging: lustre: llite_close: Substitute function calls Staging: lustre: llite_lib: Remove wrapper function Staging: lustre: llite_internal: Remove function prototype drivers/staging/lustre/lustre/llite/dir.c | 14 ++++++------- drivers/staging/lustre/lustre/llite/file.c | 24 +++++++++++----------- drivers/staging/lustre/lustre/llite/llite_close.c | 2 +- .../staging/lustre/lustre/llite/llite_internal.h | 1 - drivers/staging/lustre/lustre/llite/llite_lib.c | 13 ++++-------- drivers/staging/lustre/lustre/llite/llite_nfs.c | 2 +- drivers/staging/lustre/lustre/llite/namei.c | 12 +++++------ drivers/staging/lustre/lustre/llite/symlink.c | 2 +- drivers/staging/lustre/lustre/llite/xattr_cache.c | 2 +- 9 files changed, 33 insertions(+), 39 deletions(-) -- 2.1.0