Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8c75e2c authored by Julia Lawall's avatar Julia Lawall Committed by David S. Miller
Browse files

drivers/net/ethernet/tundra/tsi108_eth.c: delete double assignment

Delete successive assignments to the same location.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/

)

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f0a1b58
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1358,7 +1358,6 @@ static int tsi108_open(struct net_device *dev)
			break;
		}

		data->rxskbs[i] = skb;
		data->rxskbs[i] = skb;
		data->rxring[i].buf0 = virt_to_phys(data->rxskbs[i]->data);
		data->rxring[i].misc = TSI108_RX_OWN | TSI108_RX_INT;