[DCCP]: Tidyup CCID3 list handling
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Wed, 30 Aug 2006 00:50:19 +0000 (17:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:33 +0000 (15:18 -0700)
commitfc747e82b40ea50a62eb2aef55bedd4465607cb0
tree31b98872a3dfe8f71740c7047ea5bd09c966e054
parent8394e9b2faf539f82470b36c86f0485cab5278bd
[DCCP]: Tidyup CCID3 list handling

As Arnaldo Carvalho de Melo points out I should be using list_entry in case
the structure changes in future. Current code functions but is reliant
on position and requires type cast.

Noticed when doing this that I have one more variable than I needed so
removing that also.

Signed off by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccids/ccid3.c