[PATCH 06/12] staging: unisys: visorhba: Remove unused MAX_BUF define

David Kershner david.kershner at unisys.com
Thu Dec 22 16:09:03 UTC 2016


From: Bryan Thompson <bryan.thompson at unisys.com>

Remove the MAX_BUF define and associated comments.

Signed-off-by: Bryan Thompson <bryan.thompson at unisys.com>
Reviewed-by: Tim Sell <Timothy.Sell at unisys.com>
Signed-off-by: David Kershner <david.kershner at unisys.com>
Reviewed-by: David Binder <david.binder at unisys.com>
---
 drivers/staging/unisys/visorhba/visorhba_main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c
index 5a7a87e..0ce92c8 100644
--- a/drivers/staging/unisys/visorhba/visorhba_main.c
+++ b/drivers/staging/unisys/visorhba/visorhba_main.c
@@ -29,10 +29,6 @@
 /* The Send and Receive Buffers of the IO Queue may both be full */
 
 #define IOS_ERROR_THRESHOLD	1000
-/* MAX_BUF = 6 lines x 10 MAXVHBA x 80 characters
- *         = 4800 bytes ~ 2^13 = 8192 bytes
- */
-#define MAX_BUF			8192
 #define MAX_PENDING_REQUESTS	(MIN_NUMSIGNALS * 2)
 #define VISORHBA_ERROR_COUNT	30
 
-- 
git-series 0.9.1


More information about the devel mailing list