dccp: Clean up ccid.c after integration of CCID plugins
This patch cleans up after integrating the CCID modules and, in addition, * moves the if/else cases from ccid_delete() into ccid_hc_{tx,rx}_delete(); * removes the 'gfp' argument to ccid_new() - since it is always gfp_any(). Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ddebc973c5
commit
e5fd56ca4e
@@ -34,7 +34,7 @@
|
||||
static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx)
|
||||
{
|
||||
struct dccp_sock *dp = dccp_sk(sk);
|
||||
struct ccid *new_ccid = ccid_new(ccid, sk, rx, gfp_any());
|
||||
struct ccid *new_ccid = ccid_new(ccid, sk, rx);
|
||||
|
||||
if (new_ccid == NULL)
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user