Staging: lustre: ptlrpc: pack_generic: Declare local functions as static
authorShraddha Barke <shraddha.6596@gmail.com>
Wed, 7 Oct 2015 20:06:05 +0000 (01:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:21:08 +0000 (10:21 +0100)
commitfcdf51c179d50e71ce9e5a11d87c32baef3c1004
tree36554ff0da04e95366491a2991cfd7adb52ee1f1
parent17ad0ce6058df4a3d85024e86ce554ff1f559cbb
Staging: lustre: ptlrpc: pack_generic: Declare local functions as static

Declare lustre_swab_ldlm_resource_desc, lustre_swab_obdo,
lustre_swab_ldlm_res_id, lustre_swab_ldlm_policy_data as static since
they are used only in this particular file. Also remove the corresponding
declarations from header file.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
drivers/staging/lustre/lustre/ptlrpc/pack_generic.c