staging: vt6655: remove multiple assignments
cover staging: vt6655: remove multiple assignments
These two patches fix two multiple assignments coding-style issues reported by checkpatch.pl.
Alexander Vorwerk (2):
staging: vt6655: remove multiple assignment
staging: vt6655: remove multiple assignment
drivers/staging/vt6655/device_main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/2 staging: vt6655: remove multiple assignment
removing a multiple assignment coding style issue
reported by checkpatch.pl.
--- drivers/staging/vt6655/device_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +3 -1
@@ -673,7 +673,9 @@ static int device_init_td0_ring(struct vnt_private *priv)if (i >0 ) priv->apTD0Rings[i -1 ].next_desc =cpu_to_le32 (priv->td0_pool_dma); - priv->apTailTD[0 ] = priv->apCurrTD[0 ] = &priv->apTD0Rings[0 ]; + + priv->apTailTD[0 ] = &priv->apTD0Rings[0 ]; + priv->apCurrTD[0 ] = &priv->apTD0Rings[0 ];return 0 ;
Signature · 1 line
2.17.1
PATCH 2/2 staging: vt6655: remove multiple assignment
In reply to Alexander Vorwerkremoving a multiple assignment coding style issue
reported by checkpatch.pl.
--- drivers/staging/vt6655/device_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/vt6655/device_main.c +3 -1
@@ -715,7 +715,9 @@ static int device_init_td1_ring(struct vnt_private *priv)if (i >0 ) priv->apTD1Rings[i -1 ].next_desc =cpu_to_le32 (priv->td1_pool_dma); - priv->apTailTD[1 ] = priv->apCurrTD[1 ] = &priv->apTD1Rings[0 ]; + + priv->apTailTD[1 ] = &priv->apTD1Rings[0 ]; + priv->apCurrTD[1 ] = &priv->apTD1Rings[0 ];return 0 ;
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 6 lines · Alexander Vorwerk
These two patches fix two multiple assignments coding-style issues reported by checkpatch.pl.
Alexander Vorwerk (2):
staging: vt6655: remove multiple assignment
staging: vt6655: remove multiple assignment
You sent 2 patches that do different things yet have the same identical subject line :(
Please fix up and resend.
thanks,
greg k-h