OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c00458
)
net/mlx5: Remove a leftover unused variable
author
Gal Pressman
<galp@mellanox.com>
Mon, 21 Aug 2017 14:54:21 +0000
(17:54 +0300)
committer
Saeed Mahameed
<saeedm@mellanox.com>
Thu, 24 Aug 2017 13:02:58 +0000
(16:02 +0300)
mlx5_core_wq is no longer being used and should be removed
from the code.
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/driver.h
patch
|
blob
|
history
diff --git
a/include/linux/mlx5/driver.h
b/include/linux/mlx5/driver.h
index
d26f18b
..
d5b6f6a
100644
(file)
--- a/
include/linux/mlx5/driver.h
+++ b/
include/linux/mlx5/driver.h
@@
-890,8
+890,6
@@
static inline void *mlx5_buf_offset(struct mlx5_buf *buf, int offset)
return buf->direct.buf + offset;
}
-extern struct workqueue_struct *mlx5_core_wq;
-
#define STRUCT_FIELD(header, field) \
.struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \
.struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field