From: Andreas Fenkart Date: Fri, 17 Jul 2015 07:13:04 +0000 (+0200) Subject: mwifiex: remove redundant reset of cmd_wait_q status X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~124^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeb03000837eec7df4f57034106542efd60be02b;p=pandora-kernel.git mwifiex: remove redundant reset of cmd_wait_q status mwifiex_cancel_pending_ioctl is called only from mwifiex_cmd_timeout_func. There the wait_q status is set to -ETIMEDWAIT before calling this function. Whether we reset the status to -1 or leave it at -ETIMEDWAIT at end doesn't matter since both are != 0 hence mean failure Signed-off-by: Andreas Fenkart Acked-by: Amitkumar Karwar Signed-off-by: Kalle Valo --- Reading git-diff-tree failed