Re: [PATCH RESEND] dpt_i2o: fix build warning

From: Martin K. Petersen
Date: Tue Feb 23 2016 - 17:45:16 EST


>>>>> "Sudip" == Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> writes:

Sudip> We were getting build warning about:
Sudip> drivers/scsi/dpt_i2o.c:183:29: warning: 'dptids' defined but not
Sudip> used

Sudip> dptids[] is only used in the MODULE_DEVICE_TABLE so when MODULE
Sudip> is not defined then dptids[] becomes unused.

Applied to 4.6/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering