diff options
-rw-r--r-- | drivers/net/cxgb3/cxgb3_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_offload.c b/drivers/net/cxgb3/cxgb3_offload.c index 75064eea1d87..9498361119d6 100644 --- a/drivers/net/cxgb3/cxgb3_offload.c +++ b/drivers/net/cxgb3/cxgb3_offload.c | |||
@@ -1252,7 +1252,7 @@ int cxgb3_offload_activate(struct adapter *adapter) | |||
1252 | struct mtutab mtutab; | 1252 | struct mtutab mtutab; |
1253 | unsigned int l2t_capacity; | 1253 | unsigned int l2t_capacity; |
1254 | 1254 | ||
1255 | t = kcalloc(1, sizeof(*t), GFP_KERNEL); | 1255 | t = kzalloc(sizeof(*t), GFP_KERNEL); |
1256 | if (!t) | 1256 | if (!t) |
1257 | return -ENOMEM; | 1257 | return -ENOMEM; |
1258 | 1258 | ||