summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/common.h
diff options
context:
space:
mode:
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/common.h
parentf93e91a0372c922c20d5bee260b0f43b4b8a1bee (diff)
downloadlinux-676bffa02e4a511bcc32051ca9a7d544dc6bc6e5.tar.bz2
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 'drivers/infiniband/hw/hfi1/common.h')
-rw-r--r--drivers/infiniband/hw/hfi1/common.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/infiniband/hw/hfi1/common.h b/drivers/infiniband/hw/hfi1/common.h
index 995991d9709d..73a2f1338ea0 100644
--- a/drivers/infiniband/hw/hfi1/common.h
+++ b/drivers/infiniband/hw/hfi1/common.h
@@ -155,21 +155,6 @@
#define HFI1_KERN_SWVERSION ((HFI1_KERN_TYPE << 31) | HFI1_USER_SWVERSION)
/*
- * Define the driver version number. This is something that refers only
- * to the driver itself, not the software interfaces it supports.
- */
-#ifndef HFI1_DRIVER_VERSION_BASE
-#define HFI1_DRIVER_VERSION_BASE "0.9-294"
-#endif
-
-/* create the final driver version string */
-#ifdef HFI1_IDSTR
-#define HFI1_DRIVER_VERSION HFI1_DRIVER_VERSION_BASE " " HFI1_IDSTR
-#else
-#define HFI1_DRIVER_VERSION HFI1_DRIVER_VERSION_BASE
-#endif
-
-/*
* Diagnostics can send a packet by writing the following
* struct to the diag packet special file.
*