Skip to content

Commit 1d72e83

Browse files
committed
parisc: lba_pci: Mark two variables __maybe_unused
Signed-off-by: Helge Deller <[email protected]>
1 parent 646d074 commit 1d72e83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/parisc/lba_pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static int elroy_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int
404404
static void
405405
lba_wr_cfg(struct lba_device *d, u32 tok, u8 reg, u32 data, u32 size)
406406
{
407-
int error = 0;
407+
int error __maybe_unused = 0;
408408
u32 arb_mask = 0;
409409
u32 error_config = 0;
410410
u32 status_control = 0;
@@ -1018,7 +1018,7 @@ static void
10181018
lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev)
10191019
{
10201020
unsigned long bytecnt;
1021-
long io_count;
1021+
long io_count __maybe_unused;
10221022
long status; /* PDC return status */
10231023
long pa_count;
10241024
pdc_pat_cell_mod_maddr_block_t *pa_pdc_cell; /* PA_VIEW */

0 commit comments

Comments
 (0)