]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99b60265424b9c1b5357ac8dcfcf75e04f0b1780
tree36554ff0da04e95366491a2991cfd7adb52ee1f1
parent7105629b3f48bbf9c8db263616982c3948b63506
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