Some more cleanups

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2014-01-29 00:07:14 +00:00
parent da19cd6ecc
commit f7915d582b
3 changed files with 5 additions and 8 deletions

View File

@@ -311,6 +311,7 @@ out_err:
goto out;
}
EXPORT_SYMBOL(conn_sysfs_add);
#endif /* CONFIG_SCST_PROC */
/* target_mutex supposed to be locked */

View File

@@ -1915,9 +1915,6 @@ int cmnd_rx_continue(struct iscsi_cmnd *req)
struct iscsi_scsi_cmd_hdr *req_hdr = cmnd_hdr(req);
struct scst_cmd *scst_cmd = req->scst_cmd;
scst_data_direction dir;
#ifdef CONFIG_SCST_DEBUG
bool unsolicited_data_expected = false;
#endif
int res = 0;
TRACE_ENTRY();
@@ -1977,11 +1974,9 @@ int cmnd_rx_continue(struct iscsi_cmnd *req)
}
trace:
TRACE_DBG("req=%p, dir=%d, unsolicited_data_expected=%d, "
"r2t_len_to_receive=%d, r2t_len_to_send=%d, bufflen=%d, "
"own_sg %d", req, dir, unsolicited_data_expected,
req->r2t_len_to_receive, req->r2t_len_to_send, req->bufflen,
req->own_sg);
TRACE_DBG("req=%p, dir=%d, r2t_len_to_receive=%d, r2t_len_to_send=%d, "
"bufflen=%d, own_sg %d", req, dir, req->r2t_len_to_receive,
req->r2t_len_to_send, req->bufflen, req->own_sg);
out:
TRACE_EXIT_RES(res);

View File

@@ -23,6 +23,7 @@
#endif
#define LOG_PREFIX "isert" /* Prefix for SCST tracing macros. */
#ifdef INSIDE_KERNEL_TREE
#include <scst/scst_debug.h>
#else