Staging: lustre: Convert macro class_export_rpc_inc into static inline function
authorSomya Anand <somyaanand214@gmail.com>
Sat, 21 Mar 2015 12:50:24 +0000 (18:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 21:13:50 +0000 (22:13 +0100)
commit28b9d6f14d30eae2d600a3f6deac625f26591820
tree58a579ded0d334ae459d517b7c1847e58f3b5e63
parent8e76e695f76c99b97c0949dfafe9cf176bceb0e4
Staging: lustre: Convert macro class_export_rpc_inc into static inline function

This patch converts the macro class_export_rpc_inc into static inline
function. This is possible because the types of arguments at all the call
sites are same. So, the type of parameter is compatible with the types of
the arguments at all of the call sites.

Signed-off-by: Somya Anand <somyaanand214@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/obd_class.h