On 04/24/2012 12:32 AM, vikas.chaudhary@xxxxxxxxxx wrote:
>
> +static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth,
> + int reason)
> +{
> + int queue_depth;
> + if (!ql4xqfulltracking)
> + return -EOPNOTSUPP;
> +
> + queue_depth = iscsi_change_queue_depth(sdev, qdepth, reason);
> + return queue_depth;
> +}
> +
No need for queue_depth. Just do
return iscsi_change_queue_depth(sdev, qdepth, reason);
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]