Staging: lustre: Remove int typecast of offsetof().
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sun, 28 Feb 2016 09:16:56 +0000 (14:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:38:34 +0000 (19:38 -0800)
commit04697f7b61b07aedf6fbf2bba73f07b231e44d6a
treea60b75f91db29bf0ad154e10fa5141d0f810e2fb
parent31cf532a290932e226dfee80eca0c41bf2e36555
Staging: lustre: Remove int typecast of offsetof().

Remove int typecast of offsetof().
As per below coccinelle rule:

@@
type T;
expression E;
@@
- (int)(offsetof(T,E))
+ offsetof(T,E)

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h