path: root/drivers/infiniband/hw/hfi1/driver.c
diff options
authorDennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>2022-05-20 14:37:17 -0400
committerJason Gunthorpe <jgg@nvidia.com>2022-05-24 15:08:31 -0300
commit676bffa02e4a511bcc32051ca9a7d544dc6bc6e5 (patch)
treeb1ab3063474b7def583e1602a45a5642d3cca12f /drivers/infiniband/hw/hfi1/driver.c
parentRDMA/hfi1: Fix potential integer multiplication overflow errors (diff)
RDMA/hfi1: Remove pointless driver version
Driver versions have long been forbidden in the RDMA subsystem. We removed most of the code relating to them and have been very strict about not allowing. However there is some leftover versioning that we do not need. Get rid of that. Link: https://lore.kernel.org/r/20220520183717.48973.17418.stgit@awfm-01.cornelisnetworks.com Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/hfi1/driver.c b/drivers/infiniband/hw/hfi1/driver.c
index e2c634af40e9..8e71bef9d982 100644
--- a/drivers/infiniband/hw/hfi1/driver.c
+++ b/drivers/infiniband/hw/hfi1/driver.c
@@ -29,12 +29,6 @@
#undef pr_fmt
#define pr_fmt(fmt) DRIVER_NAME ": " fmt
- * The size has to be longer than this string, so we can append
- * board/chip information to it in the initialization code.
- */
-const char ib_hfi1_version[] = HFI1_DRIVER_VERSION "\n";
DEFINE_MUTEX(hfi1_mutex); /* general driver use */
unsigned int hfi1_max_mtu = HFI1_DEFAULT_MAX_MTU;