diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-09-26 08:00:36 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 17:41:59 -0400 |
commit | fceb5bc7be7d9a98459fb1e44e1b1bedef094b2c (patch) | |
tree | ed0fcf60b2659471692469d1da0f073619aab05c /drivers/target/iscsi/iscsi_target_erl0.c | |
parent | d7ca663c775bd1aafb718bdd6c208b49a9d53f50 (diff) |
iscsit: mark various functions static
This patch marks a number of functions static to appease sparse static
checking.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_erl0.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_erl0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c index 2067efd2b7f7..0c37533ccbb5 100644 --- a/drivers/target/iscsi/iscsi_target_erl0.c +++ b/drivers/target/iscsi/iscsi_target_erl0.c | |||
@@ -685,7 +685,7 @@ recover: | |||
685 | * Called from iscsit_handle_data_out() before DataOUT Payload is received | 685 | * Called from iscsit_handle_data_out() before DataOUT Payload is received |
686 | * and CRC computed. | 686 | * and CRC computed. |
687 | */ | 687 | */ |
688 | extern int iscsit_check_pre_dataout( | 688 | int iscsit_check_pre_dataout( |
689 | struct iscsi_cmd *cmd, | 689 | struct iscsi_cmd *cmd, |
690 | unsigned char *buf) | 690 | unsigned char *buf) |
691 | { | 691 | { |
@@ -789,7 +789,7 @@ static void iscsit_handle_time2retain_timeout(unsigned long data) | |||
789 | target_put_session(sess->se_sess); | 789 | target_put_session(sess->se_sess); |
790 | } | 790 | } |
791 | 791 | ||
792 | extern void iscsit_start_time2retain_handler(struct iscsi_session *sess) | 792 | void iscsit_start_time2retain_handler(struct iscsi_session *sess) |
793 | { | 793 | { |
794 | int tpg_active; | 794 | int tpg_active; |
795 | /* | 795 | /* |
@@ -822,7 +822,7 @@ extern void iscsit_start_time2retain_handler(struct iscsi_session *sess) | |||
822 | /* | 822 | /* |
823 | * Called with spin_lock_bh(&struct se_portal_group->session_lock) held | 823 | * Called with spin_lock_bh(&struct se_portal_group->session_lock) held |
824 | */ | 824 | */ |
825 | extern int iscsit_stop_time2retain_timer(struct iscsi_session *sess) | 825 | int iscsit_stop_time2retain_timer(struct iscsi_session *sess) |
826 | { | 826 | { |
827 | struct iscsi_portal_group *tpg = ISCSI_TPG_S(sess); | 827 | struct iscsi_portal_group *tpg = ISCSI_TPG_S(sess); |
828 | struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; | 828 | struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; |
@@ -926,7 +926,7 @@ static void iscsit_handle_connection_cleanup(struct iscsi_conn *conn) | |||
926 | } | 926 | } |
927 | } | 927 | } |
928 | 928 | ||
929 | extern void iscsit_take_action_for_connection_exit(struct iscsi_conn *conn) | 929 | void iscsit_take_action_for_connection_exit(struct iscsi_conn *conn) |
930 | { | 930 | { |
931 | spin_lock_bh(&conn->state_lock); | 931 | spin_lock_bh(&conn->state_lock); |
932 | if (atomic_read(&conn->connection_exit)) { | 932 | if (atomic_read(&conn->connection_exit)) { |