aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMasatake YAMATO <[email protected]>2013-04-10 11:24:38 -0500
committerJames Bottomley <[email protected]>2013-04-11 16:54:01 -0700
commit1fc2b00fba55f70ab32ecc493efbca9a1a76a4e3 (patch)
tree77eb0dc3b8407b8536deead9eddef3cccbedc945 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent5f28897d2827a924b746c4d85e35cf85810b8951 (diff)
[SCSI] libiscsi: avoid unnecessary multiple NULL assignments
In iscsi_free_task, NULL is assigned to task->sc twice: before and after kfifo_in invocatoin. Allocating and freeing iscsi_task are guarded with session->lock, so multiple NULL assignments cause no trouble. But people reading the source code may be confused. The second NULL assignment comes from commit: 3e5c28ad0391389959ccae81c938c7533efb3490 It seems that the line after kfifo_in invocation was introduced accidentally. Signed-off-by: Masatake YAMATO <[email protected]> Signed-off-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions