mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
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: Sarah Khan <sarahjmi07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f44b902adf
commit
14ad732c2d
1 changed files with 2 additions and 6 deletions
|
@ -88,17 +88,13 @@ static inline u32 _down_sema(struct semaphore *sema)
|
|||
{
|
||||
if (down_interruptible(sema))
|
||||
return _FAIL;
|
||||
else
|
||||
return _SUCCESS;
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue