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

Commit 14ad732c authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Fixed else not required after return



WARNING: else is generally not required after return
checkpatch.pl warning in osdep_service.h

Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f44b902a
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -88,17 +88,13 @@ static inline u32 _down_sema(struct semaphore *sema)
{
	if (down_interruptible(sema))
		return _FAIL;
	else
	return _SUCCESS;
}

static inline u32 end_of_queue_search(struct list_head *head,
		struct list_head *plist)
{
	if (head == plist)
		return true;
	else
		return false;
	return (head == plist);
}

static inline void sleep_schedulable(int ms)