staging: lustre: remove assignment in if condition
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 1 Mar 2014 21:31:17 +0000 (03:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 01:35:27 +0000 (17:35 -0800)
commit8505e3fc47b37591c3189b6e49e3f3a01b36d753
treea3773f439d76e028ab8a51c58097bc30ebb5fde8
parent76b8f5388a2f0da3bbb7deb72603a74c7a9875ba
staging: lustre: remove assignment in if condition

This patch removes the assignment in if conditions to do away with the
checkpatch warning :'do not use assignment in if condition'.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/gss/gss_krb5_mech.c