diff options
author | Julia Lawall <julia@diku.dk> | 2010-10-26 04:25:34 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-27 23:23:20 +0400 |
commit | d58c0e95622c0de271ae57c083ad25ff4eb032c8 (patch) | |
tree | aadbd621ee7c737e9acb1d9fedfa3266b3f8621b /ipc/msg.c | |
parent | 0184bbba1cb535dec2eaacacabe188964fbddd7c (diff) | |
download | linux-d58c0e95622c0de271ae57c083ad25ff4eb032c8.tar.xz |
drivers/net/sb1000.c: delete double assignment
The other code around these duplicated assignments initializes the 0 1 2
and 3 elements of an array, so change the initialization of the
rx_session_id array to do the same.
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: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions