Commit ffbad99a authored by Nick Rosbrook's avatar Nick Rosbrook Committed by Greg Kroah-Hartman

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: default avatarNick Rosbrook <nrosbrook@mail.smcvt.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c56de096
......@@ -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;
......
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