[SCSI] pm80xx: no need for tag allocation when issuing the command of unregistering...
authorXinHong Zhu <zxh3737@163.com>
Thu, 13 Feb 2014 03:59:38 +0000 (11:59 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:22 +0000 (10:19 -0700)
commit09f942bd83610f60f3b00b8f942a79f402307fe6
treefd1153aa6a9626a0abbe758903b2f158e9a46ac4
parentd6216c4734721900a835196309668134f83c641d
[SCSI] pm80xx: no need for tag allocation when issuing the command of unregistering device

In function pm8001_dev_gone_notify we consume a tag from bitmap resource and
later don't free that tag resource, so the tag resource will never be
freed. In the function we don't need to use any tag to issue command for
unregistering the device .

Signed-off-by: XinHong Zhu <zxh3737@163.com>
Acked-by: Lindar Liu <lindar_liu@usish.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_sas.c