]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[SCSI] isci: remove unused 'isci_tmf->device' field
authorMaciej Trela <maciej.trela@intel.com>
Wed, 4 Jan 2012 09:33:05 +0000 (01:33 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 16 Jan 2012 07:44:15 +0000 (11:44 +0400)
commit27234ab44f97d85bab062a9d18aaff99addd267d
treea54a7da9aa4bb6ddf2da02163cd9de5975240156
parentbe168a3b89b43b8bb4ef71066e91439d400e20a6
[SCSI] isci: remove unused 'isci_tmf->device' field

As the field was never set, isci_print_tmf() using 'isci_tmf->device'
sometimes causes a kernel crash if the dev_dbg() statement is enabled.
Remove the unused field both from isci_tmf struct definition and from
isci_print_tmf()

Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/task.c
drivers/scsi/isci/task.h