mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
a227fb3a5a
commit
f760903ae5
1 changed files with 8 additions and 8 deletions
|
@ -49,7 +49,7 @@ void iscsit_set_default_node_attribues(
|
||||||
a->default_erl = NA_DEFAULT_ERL;
|
a->default_erl = NA_DEFAULT_ERL;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_dataout_timeout(
|
int iscsit_na_dataout_timeout(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 dataout_timeout)
|
u32 dataout_timeout)
|
||||||
{
|
{
|
||||||
|
@ -74,7 +74,7 @@ extern int iscsit_na_dataout_timeout(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_dataout_timeout_retries(
|
int iscsit_na_dataout_timeout_retries(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 dataout_timeout_retries)
|
u32 dataout_timeout_retries)
|
||||||
{
|
{
|
||||||
|
@ -100,7 +100,7 @@ extern int iscsit_na_dataout_timeout_retries(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_nopin_timeout(
|
int iscsit_na_nopin_timeout(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 nopin_timeout)
|
u32 nopin_timeout)
|
||||||
{
|
{
|
||||||
|
@ -155,7 +155,7 @@ extern int iscsit_na_nopin_timeout(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_nopin_response_timeout(
|
int iscsit_na_nopin_response_timeout(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 nopin_response_timeout)
|
u32 nopin_response_timeout)
|
||||||
{
|
{
|
||||||
|
@ -181,7 +181,7 @@ extern int iscsit_na_nopin_response_timeout(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_random_datain_pdu_offsets(
|
int iscsit_na_random_datain_pdu_offsets(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 random_datain_pdu_offsets)
|
u32 random_datain_pdu_offsets)
|
||||||
{
|
{
|
||||||
|
@ -201,7 +201,7 @@ extern int iscsit_na_random_datain_pdu_offsets(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_random_datain_seq_offsets(
|
int iscsit_na_random_datain_seq_offsets(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 random_datain_seq_offsets)
|
u32 random_datain_seq_offsets)
|
||||||
{
|
{
|
||||||
|
@ -221,7 +221,7 @@ extern int iscsit_na_random_datain_seq_offsets(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_random_r2t_offsets(
|
int iscsit_na_random_r2t_offsets(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 random_r2t_offsets)
|
u32 random_r2t_offsets)
|
||||||
{
|
{
|
||||||
|
@ -241,7 +241,7 @@ extern int iscsit_na_random_r2t_offsets(
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int iscsit_na_default_erl(
|
int iscsit_na_default_erl(
|
||||||
struct iscsi_node_acl *acl,
|
struct iscsi_node_acl *acl,
|
||||||
u32 default_erl)
|
u32 default_erl)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue