diff options
author | Leon Romanovsky <leon@kernel.org> | 2017-01-18 08:57:58 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-25 00:20:37 +0300 |
commit | 564649b4ea862588be41da4ae2b96b41208b57be (patch) | |
tree | 11ca7948f03a0b72debff0b0a93d5293d14047e7 /drivers/infiniband/hw/qib/qib_qsfp.c | |
parent | 21d6454a392d552c7e845f39884f7cf86f9426b9 (diff) | |
download | linux-564649b4ea862588be41da4ae2b96b41208b57be.tar.xz |
IB/qib: Remove empty function
Commit f06267104dd9 ("RDMA: Update workqueue usage") removed
content of qib_qsfp_deinit(...) and left it empty.
This patch deletes all leftovers of that function.
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_qsfp.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_qsfp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/infiniband/hw/qib/qib_qsfp.c b/drivers/infiniband/hw/qib/qib_qsfp.c index 4c7c3c84a741..295d40a83bb6 100644 --- a/drivers/infiniband/hw/qib/qib_qsfp.c +++ b/drivers/infiniband/hw/qib/qib_qsfp.c @@ -485,16 +485,6 @@ void qib_qsfp_init(struct qib_qsfp_data *qd, dd->f_gpio_mod(dd, mask, mask, mask); } -void qib_qsfp_deinit(struct qib_qsfp_data *qd) -{ - /* - * There is nothing to do here for now. our work is scheduled - * with queue_work(), and flush_workqueue() from remove_one - * will block until all work setup with queue_work() - * completes. - */ -} - int qib_qsfp_dump(struct qib_pportdata *ppd, char *buf, int len) { struct qib_qsfp_cache cd; |