diff --git a/net/rds/ib.c b/net/rds/ib.c index 8d70884d7bb60294c1402892bff3ebe4c81d3663..91fe46f1e4ccf018a554c149a5ce3e804dc9991a 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c @@ -111,8 +111,7 @@ static void rds_ib_dev_free(struct work_struct *work) kfree(i_ipaddr); } - if (rds_ibdev->vector_load) - kfree(rds_ibdev->vector_load); + kfree(rds_ibdev->vector_load); kfree(rds_ibdev); }