diff options
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/af_irda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index 0328ae2654f4..48ce59a6e026 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -1078,7 +1078,7 @@ static int irda_create(struct net *net, struct socket *sock, int protocol) | |||
1078 | } | 1078 | } |
1079 | 1079 | ||
1080 | /* Allocate networking socket */ | 1080 | /* Allocate networking socket */ |
1081 | sk = sk_alloc(net, PF_IRDA, GFP_ATOMIC, &irda_proto, 1); | 1081 | sk = sk_alloc(net, PF_IRDA, GFP_ATOMIC, &irda_proto); |
1082 | if (sk == NULL) | 1082 | if (sk == NULL) |
1083 | return -ENOMEM; | 1083 | return -ENOMEM; |
1084 | 1084 | ||