isert-scst: Convert a cast into a container_of() expression

This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-08-22 00:04:58 +00:00
parent 12a8edb9d4
commit 3f35afdf88

View File

@@ -488,7 +488,7 @@ void isert_connection_closed(struct iscsi_conn *iscsi_conn)
void isert_connection_abort(struct iscsi_conn *iscsi_conn)
{
struct isert_connection *isert_conn =
(struct isert_connection *)iscsi_conn;
container_of(iscsi_conn, struct isert_connection, iscsi);
TRACE_ENTRY();