Delete dangling rcu_read_unlock() which was left behind
when matching rcu_read_lock() and enclosed code was
removed in commit
538f5d0dfa704f4dcb4afa80a1d01b1317b9cd65
All compiler warnings are also fixed.
Orabug:
18995395
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
(cherry picked from commit
ba3dcd2f88fbf554f77bb312727c88193decfb75)
goto out;
}
- work->conn = (struct rds_ib_connection *)ic->conn;
+ work->conn = ic->conn;
INIT_DELAYED_WORK(&work->work, rds_ib_conn_drop);
queue_delayed_work(rds_aux_wq, &work->work,
msecs_to_jiffies(1000 * rds_ib_active_bonding_reconnect_delay));
if (!rds_ib_active_bonding_enabled)
return 0;
- rcu_read_unlock();
-
ip_config = kzalloc(sizeof(struct rds_ib_port) *
(ip_port_max + 1), GFP_KERNEL);
if (!ip_config) {
struct rds_ib_conn_drop_work {
struct delayed_work work;
- struct rds_ib_connection *conn;
+ struct rds_connection *conn;
};
struct rds_ib_addr_change_work {