From: Bryan Thompson Date: Thu, 22 Dec 2016 16:09:03 +0000 (-0500) Subject: staging: unisys: visorhba: Remove unused MAX_BUF define X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6008a071d2c41ffe63d7a1d29ab7ca8558579bb6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: unisys: visorhba: Remove unused MAX_BUF define Remove the MAX_BUF define and associated comments. Signed-off-by: Bryan Thompson Reviewed-by: Tim Sell Signed-off-by: David Kershner Reviewed-by: David Binder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c index 5a7a87efed27..0ce92c85157c 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