提交 5ec21960 编写于 作者: M Martin Peschke 提交者: Martin K. Petersen

scsi: zfcp: clean up a member of struct zfcp_qdio that was assigned but never used

v2.6.38 commit a54ca0f6 ("[SCSI] zfcp: Redesign of the debug tracing
for HBA records.")
dropped trace information previously introduced with
v2.6.27 commit c3baa9a2 ("[SCSI] zfcp: Add information about interrupt
to trace.")
but kept and needlessly assigned a now no longer used struct field.
Signed-off-by: NMartin Peschke <mpeschke@linux.vnet.ibm.com>
[maier@linux.vnet.ibm.com: reword, added git history]
Signed-off-by: NSteffen Maier <maier@linux.vnet.ibm.com>
Reviewed-by: NBenjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: NBenjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 46e5ee1f
...@@ -2394,7 +2394,6 @@ void zfcp_fsf_reqid_check(struct zfcp_qdio *qdio, int sbal_idx) ...@@ -2394,7 +2394,6 @@ void zfcp_fsf_reqid_check(struct zfcp_qdio *qdio, int sbal_idx)
req_id, dev_name(&adapter->ccw_device->dev)); req_id, dev_name(&adapter->ccw_device->dev));
} }
fsf_req->qdio_req.sbal_response = sbal_idx;
zfcp_fsf_req_complete(fsf_req); zfcp_fsf_req_complete(fsf_req);
if (likely(sbale->eflags & SBAL_EFLAGS_LAST_ENTRY)) if (likely(sbale->eflags & SBAL_EFLAGS_LAST_ENTRY))
......
...@@ -54,7 +54,6 @@ struct zfcp_qdio { ...@@ -54,7 +54,6 @@ struct zfcp_qdio {
* @sbal_last: last sbal for this request * @sbal_last: last sbal for this request
* @sbal_limit: last possible sbal for this request * @sbal_limit: last possible sbal for this request
* @sbale_curr: current sbale at creation of this request * @sbale_curr: current sbale at creation of this request
* @sbal_response: sbal used in interrupt
* @qdio_outb_usage: usage of outbound queue * @qdio_outb_usage: usage of outbound queue
*/ */
struct zfcp_qdio_req { struct zfcp_qdio_req {
...@@ -64,7 +63,6 @@ struct zfcp_qdio_req { ...@@ -64,7 +63,6 @@ struct zfcp_qdio_req {
u8 sbal_last; u8 sbal_last;
u8 sbal_limit; u8 sbal_limit;
u8 sbale_curr; u8 sbale_curr;
u8 sbal_response;
u16 qdio_outb_usage; u16 qdio_outb_usage;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册