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

Commit fa44eae4 authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman
Browse files

staging: lustre: include: linux: libcfs: Removed unnecessary else expression.



This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning libcfs.h

Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2ad80e4
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -173,7 +173,6 @@ static inline void *__container_of(void *ptr, unsigned long shift)
{
{
	if (unlikely(IS_ERR(ptr) || ptr == NULL))
	if (unlikely(IS_ERR(ptr) || ptr == NULL))
		return ptr;
		return ptr;
	else
	return (char *)ptr - shift;
	return (char *)ptr - shift;
}
}