On Tue, Nov 21, 2006 at 03:45:46PM +0000, Gerrit Renker wrote: > [CCID 3]: Tidy up unused structures > > This removes and cleans up unused variables and structures > which have become unnecessary following the introduction of > the EWMA patch to automatically track the CCID 3 receiver/sender > packet sizes `s'. > > Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx> > --- > include/linux/dccp.h | 3 --- > net/dccp/ccids/ccid3.h | 4 ---- > net/dccp/proto.c | 7 ------- > 3 files changed, 14 deletions(-) > > --- a/include/linux/dccp.h > +++ b/include/linux/dccp.h > @@ -200,7 +200,6 @@ struct dccp_so_feat { > }; > > /* DCCP socket options */ > -#define DCCP_SOCKOPT_PACKET_SIZE 1 Suggestion: just add a comment stating that DCCP_SOCKOPT_PACKET_SIZE is deprecated and ... > #define DCCP_SOCKOPT_SERVICE 2 <SNIP> > --- a/net/dccp/proto.c > +++ b/net/dccp/proto.c > @@ -469,9 +469,6 @@ static int do_dccp_setsockopt(struct soc > > lock_sock(sk); > switch (optname) { > - case DCCP_SOCKOPT_PACKET_SIZE: > - dp->dccps_packet_size = val; > - break; ... printk(KERN_WARNING "setsockopt(PACKET_SIZE) is deprecated, " "fix your app\n"); Its not like there are tons of apps using this interface, but I think that this is what we have to do in these cases. - Arnaldo - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html