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: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gulsah Kose 2014-09-30 21:59:21 +03:00 committed by Greg Kroah-Hartman
parent c2ad80e45b
commit fa44eae464
1 changed files with 1 additions and 2 deletions

View File

@ -173,8 +173,7 @@ static inline void *__container_of(void *ptr, unsigned long shift)
{
if (unlikely(IS_ERR(ptr) || ptr == NULL))
return ptr;
else
return (char *)ptr - shift;
return (char *)ptr - shift;
}
#define container_of0(ptr, type, member) \