summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorNick Rosbrook <nrosbrook@mail.smcvt.edu>2016-11-01 21:15:07 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-07 11:31:12 +0100
commitffbad99addc09155d469bef6fa216125d24322a4 (patch)
tree6da849d3700f117b4738905788765f644add87dc /drivers/staging/vt6655
parentc56de0967a658cb773bf41c5e4ea26768267d8b1 (diff)
downloadtalos-op-linux-ffbad99addc09155d469bef6fa216125d24322a4.tar.gz
talos-op-linux-ffbad99addc09155d469bef6fa216125d24322a4.zip
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>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/card.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 928c336f9d83..e0c92818ed70 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -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;
OpenPOWER on IntegriCloud