wlcore: Fix the usage of wait_for_completion_timeout
authorChuansheng Liu <chuansheng.liu@intel.com>
Tue, 6 Nov 2012 17:28:14 +0000 (01:28 +0800)
committerLuciano Coelho <luca@coelho.fi>
Fri, 16 Nov 2012 17:53:01 +0000 (19:53 +0200)
commit25b08bf662dea1291a9872547819f0e96bf68fe6
tree1da21beae3b1147cacee034b26a17ad75107962a
parent4eeac22c159f053ea34527e4fea359ab10b4b5a5
wlcore: Fix the usage of wait_for_completion_timeout

The return value of wait_for_completion_timeout() is always
>= 0 with unsigned int type.

So the condition "ret < 0" or "ret >= 0" is pointless.

Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/ps.c