Commit adc08cc4 authored by Shivani Bhardwaj's avatar Shivani Bhardwaj Committed by Greg Kroah-Hartman

Staging: rtl8712: rtl8712_cmd: Remove useless cast

Explicit type conversions are not required so, remove them.
Semantic patch used:
@@
type T;
T e;
identifier x;
@@

* T x = (T)e;
Signed-off-by: default avatarShivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent adc6b375
...@@ -340,8 +340,7 @@ int r8712_cmd_thread(void *context) ...@@ -340,8 +340,7 @@ int r8712_cmd_thread(void *context)
memset(pdesc, 0, TXDESC_SIZE); memset(pdesc, 0, TXDESC_SIZE);
pcmd = cmd_hdl_filter(padapter, pcmd); pcmd = cmd_hdl_filter(padapter, pcmd);
if (pcmd) { /* if pcmd != NULL, cmd will be handled by f/w */ if (pcmd) { /* if pcmd != NULL, cmd will be handled by f/w */
struct dvobj_priv *pdvobj = (struct dvobj_priv *) struct dvobj_priv *pdvobj = &padapter->dvobjpriv;
&padapter->dvobjpriv;
u8 blnPending = 0; u8 blnPending = 0;
pcmdpriv->cmd_issued_cnt++; pcmdpriv->cmd_issued_cnt++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment