projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
589643b
)
IB/umad: Remove unused-but-set variable 'already_dead'
author
Roland Dreier
<rolandd@cisco.com>
Wed, 14 Jul 2010 20:25:04 +0000
(13:25 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 14 Jul 2010 20:25:04 +0000
(13:25 -0700)
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/user_mad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/user_mad.c
b/drivers/infiniband/core/user_mad.c
index 6babb72b39fc462b8c36b9101871524e9c6c3657..5fa856909511248c01bb925166bb592e8e94a0e4 100644
(file)
--- a/
drivers/infiniband/core/user_mad.c
+++ b/
drivers/infiniband/core/user_mad.c
@@
-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);