]> Pileus Git - ~andy/linux/blobdiff - drivers/scsi/scsi.c
[SCSI] aic7xxx: add static
[~andy/linux] / drivers / scsi / scsi.c
index f6980bd9d8f9a9a8b75a57de89cd9c8e26cc214c..12d69d7c85775475ce89de8fc6a6381ba4453809 100644 (file)
@@ -852,7 +852,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd)
                                "Notifying upper driver of completion "
                                "(result %x)\n", cmd->result));
 
-       good_bytes = scsi_bufflen(cmd) + cmd->request->extra_len;
+       good_bytes = scsi_bufflen(cmd);
         if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) {
                drv = scsi_cmd_to_driver(cmd);
                if (drv->done)