IB/umad: Remove unused-but-set variable 'already_dead'
PATCH 1/1 IB/umad: Remove unused-but-set variable 'already_dead'
Signed-off-by Roland Dreier <[email protected]>
--- drivers/infiniband/core/user_mad.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/infiniband/core/user_mad.c +0 -2
@@ -1085,7 +1085,6 @@ err_cdev:static void ib_umad_kill_port (struct ib_umad_port *port) {struct ib_umad_file *file; -int already_dead;int id;dev_set_drvdata (port->dev,NULL );
@@ -1103,7 +1102,6 @@ static void ib_umad_kill_port(struct ib_umad_port *port)list_for_each_entry (file, &port->file_list, port_list) {mutex_lock (&file->mutex); - already_dead = file->agents_dead; file->agents_dead =1 ;mutex_unlock (&file->mutex);
Signature · 10 lines
1.7.1.1 -- Roland Dreier <[email protected]> || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html