scsi: hisi_sas: Move slot variable definition in hisi_sas_abort_task()
mainline inclusion from mainline-v6.2-rc1 commit 4b329abc category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6NPLN CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4b329abc91800d23941ac773e69b322a13981ecb ---------------------------------------------------------------------- Each branch currently defines a slot variable independently, and it is neater to move it to the function head. Signed-off-by: NXingui Yang <yangxingui@huawei.com> Signed-off-by: NJohn Garry <john.garry@huawei.com> Link: https://lore.kernel.org/r/1665998435-199946-3-git-send-email-john.garry@huawei.comSigned-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Nxiabing <xiabing12@h-partners.com>
Showing
想要评论请 注册 或 登录