[DCCP] CCID: Allow ccid_{init,exit} to be NULL
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Tue, 21 Mar 2006 01:20:23 +0000 (17:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:20:23 +0000 (17:20 -0800)
commit411447019ab583c659600b0519db5658a2444f11
tree3bf3e7c655c91097cead92c65334a4ebbb51906e
parent02bcf28c82c8e4b72c4b89bddbbb6fea1a646d07
[DCCP] CCID: Allow ccid_{init,exit} to be NULL

Testing if the ccid being instantiated has these methods in
ccid_init().

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccid.c
net/dccp/ccids/ccid3.c