mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: vt6655: card.c: Fixing multiple assignments
Running checkpath on card.c shows two locations where multiple assignments are used. This patch modifies the assignments into single assignments. Signed-off-by: Nick Rosbrook <nrosbrook@mail.smcvt.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c56de0967a
commit
ffbad99add
1 changed files with 5 additions and 2 deletions
|
|
@ -524,8 +524,11 @@ CARDvSafeResetTx(
|
|||
struct vnt_tx_desc *pCurrTD;
|
||||
|
||||
/* initialize TD index */
|
||||
priv->apTailTD[0] = priv->apCurrTD[0] = &(priv->apTD0Rings[0]);
|
||||
priv->apTailTD[1] = priv->apCurrTD[1] = &(priv->apTD1Rings[0]);
|
||||
priv->apTailTD[0] = &(priv->apTD0Rings[0]);
|
||||
priv->apCurrTD[0] = &(priv->apTD0Rings[0]);
|
||||
|
||||
priv->apTailTD[1] = &(priv->apTD1Rings[0]);
|
||||
priv->apCurrTD[1] = &(priv->apTD1Rings[0]);
|
||||
|
||||
for (uu = 0; uu < TYPE_MAXTD; uu++)
|
||||
priv->iTDUsed[uu] = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue