Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 109a1624 authored by Ankit Garg's avatar Ankit Garg Committed by Greg Kroah-Hartman
Browse files

staging: lustre: lclient: lcommon_cl.c fixing coding style issues



This patch fixes the checkpatch.pl warning:

WARNING: else is not generally useful after a break or return
+                       return result;
+               } else {

Signed-off-by: default avatarAnkit Garg <kerneldvlper@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 907b8a00
Loading
Loading
Loading
Loading
+17 −18
Original line number Diff line number Diff line
@@ -836,7 +836,7 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
					*exceed = 1;
			}
			return result;
		} else {
		}
		/*
		 * region is within kms and, hence, within real file
		 * size (A). We need to increase i_size to cover the
@@ -856,7 +856,6 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,

		}
	}
	}
	ccc_object_size_unlock(obj);
	return result;
}