Commit d0e0cb97 authored by Lee Jones's avatar Lee Jones Committed by Jens Axboe

block: mtip32xx: mtip32xx: Mark debugging variable 'start' as __maybe_unused

Fixes the following W=1 kernel build warning(s):

 drivers/block/mtip32xx/mtip32xx.c: In function ‘mtip_standby_immediate’:
 drivers/block/mtip32xx/mtip32xx.c:1216:16: warning: variable ‘start’ set but not used [-Wunused-but-set-variable]

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210312105530.2219008-4-lee.jones@linaro.orgSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b8b87103
...@@ -1213,7 +1213,7 @@ static int mtip_standby_immediate(struct mtip_port *port) ...@@ -1213,7 +1213,7 @@ static int mtip_standby_immediate(struct mtip_port *port)
{ {
int rv; int rv;
struct host_to_dev_fis fis; struct host_to_dev_fis fis;
unsigned long start; unsigned long __maybe_unused start;
unsigned int timeout; unsigned int timeout;
/* Build the FIS. */ /* Build the FIS. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment