Re: [PATCH] [SCSI] dpt_i2o: fix build warning

From: Sudip Mukherjee
Date: Tue Feb 16 2016 - 13:23:54 EST


On Tuesday 16 February 2016 02:47 PM, Johannes Thumshirn wrote:
On Tue, Feb 16, 2016 at 02:07:36PM +0530, Sudip Mukherjee wrote:
We were getting build warning about:
drivers/scsi/dpt_i2o.c:183:29: warning: âdptidsâ defined but not used

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

Nah. Care to make a proper pci driver from it instead of plastering yet
another #ifdef in?

Ok. I am on it. I hope someone has the hardware to check the changes.

regards
sudip