staging:lustre:remove braces from single-line body
PATCH 1/1 staging:lustre:remove braces from single-line body
Remove unnecessary braces from single line if statement. This warning is found using checkpatch.pl.
Signed-off-by Tabrez khan <[email protected]>
--- drivers/staging/lustre/lustre/obdecho/echo_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/obdecho/echo_client.c +2 -2
@@ -1694,9 +1694,9 @@ static int echo_client_connect(const struct lu_env *env,struct lustre_handle conn = {0 }; rc =class_connect (&conn, src, cluuid); -if (rc ==0 ) { +if (rc ==0 ) *exp =class_conn2export (&conn); - } +return rc; }
Signature · 1 line
2.7.4