This patch does not change any functionality.
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  */
 
 struct xcopy_pt_cmd {
-       bool remote_port;
        struct se_cmd se_cmd;
        struct completion xpt_passthrough_sem;
        unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER];
                 * when CDB is received on local source port, and READs blocks to
                 * WRITE on remote destination port.
                 */
-               if (remote_port) {
-                       xpt_cmd->remote_port = remote_port;
-               } else {
+               if (!remote_port) {
                        pt_cmd->se_lun = ec_cmd->se_lun;
                        pt_cmd->se_dev = ec_cmd->se_dev;
 
                 * blocks from the remote source port to WRITE on local
                 * destination port.
                 */
-               if (remote_port) {
-                       xpt_cmd->remote_port = remote_port;
-               } else {
+               if (!remote_port) {
                        pt_cmd->se_lun = ec_cmd->se_lun;
                        pt_cmd->se_dev = ec_cmd->se_dev;