[Stgt-devel] Unused variable in struct scsi_cmd

Mark Harvey markh794
Fri Aug 3 02:59:41 CEST 2007


The scsi_cmd structure defined in tgtd.h contains two similar named variables.
uint32_t data_len and uint32_t len.

I could not identify any code that used 'data_len'

Also removing this from the structure resulted in a successful compile
for iSCSI.

I assume this is a dead variable and can be safely removed ?

Regards
Mark



More information about the stgt mailing list