diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c index 458a2c46cef3..baf55c459c8b 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c | |||
@@ -208,7 +208,7 @@ static void cfg_cmd_event(struct tipc_cmd_msg *msg, | |||
208 | 208 | ||
209 | if (mng.link_subscriptions > 64) | 209 | if (mng.link_subscriptions > 64) |
210 | break; | 210 | break; |
211 | sub = (struct subscr_data *)kmalloc(sizeof(*sub), | 211 | sub = kmalloc(sizeof(*sub), |
212 | GFP_ATOMIC); | 212 | GFP_ATOMIC); |
213 | if (sub == NULL) { | 213 | if (sub == NULL) { |
214 | warn("Memory squeeze; dropped remote link subscription\n"); | 214 | warn("Memory squeeze; dropped remote link subscription\n"); |