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_erl2.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_erl2.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_erl2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/target/iscsi/iscsi_target_erl2.c b/drivers/target/iscsi/iscsi_target_erl2.c index 667c19cc3b28..660694544128 100644 --- a/drivers/target/iscsi/iscsi_target_erl2.c +++ b/drivers/target/iscsi/iscsi_target_erl2.c | |||
@@ -193,15 +193,13 @@ int iscsit_remove_active_connection_recovery_entry( | |||
193 | return 0; | 193 | return 0; |
194 | } | 194 | } |
195 | 195 | ||
196 | int iscsit_remove_inactive_connection_recovery_entry( | 196 | static void iscsit_remove_inactive_connection_recovery_entry( |
197 | struct iscsi_conn_recovery *cr, | 197 | struct iscsi_conn_recovery *cr, |
198 | struct iscsi_session *sess) | 198 | struct iscsi_session *sess) |
199 | { | 199 | { |
200 | spin_lock(&sess->cr_i_lock); | 200 | spin_lock(&sess->cr_i_lock); |
201 | list_del(&cr->cr_list); | 201 | list_del(&cr->cr_list); |
202 | spin_unlock(&sess->cr_i_lock); | 202 | spin_unlock(&sess->cr_i_lock); |
203 | |||
204 | return 0; | ||
205 | } | 203 | } |
206 | 204 | ||
207 | /* | 205 | /* |