diff options
Diffstat (limited to 'net/rds/ib.c')
| -rw-r--r-- | net/rds/ib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rds/ib.c b/net/rds/ib.c index 8457ec7c3ab8..ac6affa33ce7 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c @@ -172,8 +172,7 @@ static int rds_ib_add_one(struct ib_device *device) rds_ibdev->max_initiator_depth = device->attrs.max_qp_init_rd_atom; rds_ibdev->max_responder_resources = device->attrs.max_qp_rd_atom; - rds_ibdev->vector_load = kzalloc_objs(int, device->num_comp_vectors, - GFP_KERNEL); + rds_ibdev->vector_load = kzalloc_objs(int, device->num_comp_vectors); if (!rds_ibdev->vector_load) { pr_err("RDS/IB: %s failed to allocate vector memory\n", __func__); |
