Skip to content

Commit fc7c44f

Browse files
Patrick Caulfieldswhiteho
authored andcommitted
[DLM] Remove redundant assignment
This patch removes a redundant (and incorrect) assignment from compat_output Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent a43a490 commit fc7c44f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎fs/dlm/user.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ static void compat_input(struct dlm_write_request *kb,
115115
static void compat_output(struct dlm_lock_result *res,
116116
struct dlm_lock_result32 *res32)
117117
{
118-
res32->length = res->length - (sizeof(struct dlm_lock_result) -
119-
sizeof(struct dlm_lock_result32));
120118
res32->user_astaddr = (__u32)(long)res->user_astaddr;
121119
res32->user_astparam = (__u32)(long)res->user_astparam;
122120
res32->user_lksb = (__u32)(long)res->user_lksb;

0 commit comments

Comments
 (0)