]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: arcmsr: Spin off duplicate code
authorChing Huang <ching2048@areca.com.tw>
Tue, 5 Dec 2017 02:11:23 +0000 (10:11 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Dec 2017 00:32:41 +0000 (19:32 -0500)
commitea331f30ec8c2e43df4dd415959f4df0ebc7c279
treead80f370f8a8bab639b95326d9c0793b960e5bc0
parent2124c5b2cc6a4dc92f609378ecadb66e686efb5f
scsi: arcmsr: Spin off duplicate code

Spin off duplicate code of timer init for message isr BH in arcmsr_probe
and arcmsr_resume as a function arcmsr_init_get_devmap_timer.

Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arcmsr/arcmsr_hba.c