staging: wilc1000: remove redundant check in wilc_mq_recv
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 20 Jan 2016 07:44:57 +0000 (16:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:20:15 +0000 (15:20 -0800)
commiteec826439dbe1ad253bb7c4d54ed8777773ec630
treea1a00b999d712eb910b93e63ada3f180975ea0fa
parentce7b516f3f9e11fe4ee06fad0d7e853bb6e8f160
staging: wilc1000: remove redundant check in wilc_mq_recv

At the beginning of wilc_mq_recv, it is checked if pHandle->bExiting is
false or true. There is no need to check it again at the middle of this
function. So just remove it.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_msgqueue.c