diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-17 09:11:52 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-03-17 21:07:04 -0400 |
commit | f760903ae512c7851b619be1742ae1581145a878 (patch) | |
tree | 0e2c40deda9e60804cd9a4804e2f3d9cae18820f | |
parent | a227fb3a5a61e70ae4e4957818a23e9239bf5a43 (diff) |
iscsi-target: remove improper externs
These externs aren't needed and Sparse complains about them.
drivers/target/iscsi/iscsi_target_nodeattrib.c:52:12: warning:
function 'iscsit_na_dataout_timeout' with external linkage has
definition
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/target/iscsi/iscsi_target_nodeattrib.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/target/iscsi/iscsi_target_nodeattrib.c b/drivers/target/iscsi/iscsi_target_nodeattrib.c index b3c699c4fe8c..11dc2936af76 100644 --- a/drivers/target/iscsi/iscsi_target_nodeattrib.c +++ b/drivers/target/iscsi/iscsi_target_nodeattrib.c | |||
@@ -49,7 +49,7 @@ void iscsit_set_default_node_attribues( | |||
49 | a->default_erl = NA_DEFAULT_ERL; | 49 | a->default_erl = NA_DEFAULT_ERL; |
50 | } | 50 | } |
51 | 51 | ||
52 | extern int iscsit_na_dataout_timeout( | 52 | int iscsit_na_dataout_timeout( |
53 | struct iscsi_node_acl *acl, | 53 | struct iscsi_node_acl *acl, |
54 | u32 dataout_timeout) | 54 | u32 dataout_timeout) |
55 | { | 55 | { |
@@ -74,7 +74,7 @@ extern int iscsit_na_dataout_timeout( | |||
74 | return 0; | 74 | return 0; |
75 | } | 75 | } |
76 | 76 | ||
77 | extern int iscsit_na_dataout_timeout_retries( | 77 | int iscsit_na_dataout_timeout_retries( |
78 | struct iscsi_node_acl *acl, | 78 | struct iscsi_node_acl *acl, |
79 | u32 dataout_timeout_retries) | 79 | u32 dataout_timeout_retries) |
80 | { | 80 | { |
@@ -100,7 +100,7 @@ extern int iscsit_na_dataout_timeout_retries( | |||
100 | return 0; | 100 | return 0; |
101 | } | 101 | } |
102 | 102 | ||
103 | extern int iscsit_na_nopin_timeout( | 103 | int iscsit_na_nopin_timeout( |
104 | struct iscsi_node_acl *acl, | 104 | struct iscsi_node_acl *acl, |
105 | u32 nopin_timeout) | 105 | u32 nopin_timeout) |
106 | { | 106 | { |
@@ -155,7 +155,7 @@ extern int iscsit_na_nopin_timeout( | |||
155 | return 0; | 155 | return 0; |
156 | } | 156 | } |
157 | 157 | ||
158 | extern int iscsit_na_nopin_response_timeout( | 158 | int iscsit_na_nopin_response_timeout( |
159 | struct iscsi_node_acl *acl, | 159 | struct iscsi_node_acl *acl, |
160 | u32 nopin_response_timeout) | 160 | u32 nopin_response_timeout) |
161 | { | 161 | { |
@@ -181,7 +181,7 @@ extern int iscsit_na_nopin_response_timeout( | |||
181 | return 0; | 181 | return 0; |
182 | } | 182 | } |
183 | 183 | ||
184 | extern int iscsit_na_random_datain_pdu_offsets( | 184 | int iscsit_na_random_datain_pdu_offsets( |
185 | struct iscsi_node_acl *acl, | 185 | struct iscsi_node_acl *acl, |
186 | u32 random_datain_pdu_offsets) | 186 | u32 random_datain_pdu_offsets) |
187 | { | 187 | { |
@@ -201,7 +201,7 @@ extern int iscsit_na_random_datain_pdu_offsets( | |||
201 | return 0; | 201 | return 0; |
202 | } | 202 | } |
203 | 203 | ||
204 | extern int iscsit_na_random_datain_seq_offsets( | 204 | int iscsit_na_random_datain_seq_offsets( |
205 | struct iscsi_node_acl *acl, | 205 | struct iscsi_node_acl *acl, |
206 | u32 random_datain_seq_offsets) | 206 | u32 random_datain_seq_offsets) |
207 | { | 207 | { |
@@ -221,7 +221,7 @@ extern int iscsit_na_random_datain_seq_offsets( | |||
221 | return 0; | 221 | return 0; |
222 | } | 222 | } |
223 | 223 | ||
224 | extern int iscsit_na_random_r2t_offsets( | 224 | int iscsit_na_random_r2t_offsets( |
225 | struct iscsi_node_acl *acl, | 225 | struct iscsi_node_acl *acl, |
226 | u32 random_r2t_offsets) | 226 | u32 random_r2t_offsets) |
227 | { | 227 | { |
@@ -241,7 +241,7 @@ extern int iscsit_na_random_r2t_offsets( | |||
241 | return 0; | 241 | return 0; |
242 | } | 242 | } |
243 | 243 | ||
244 | extern int iscsit_na_default_erl( | 244 | int iscsit_na_default_erl( |
245 | struct iscsi_node_acl *acl, | 245 | struct iscsi_node_acl *acl, |
246 | u32 default_erl) | 246 | u32 default_erl) |
247 | { | 247 | { |