Commit 9cf899d1 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

drivers/firmware/iscsi_ibft.c: make 3 functions static

This patch makes the following needlessly global functions static:
- ibft_attr_show_initiator()
- ibft_attr_show_nic()
- ibft_attr_show_target()
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarKonrad Rzeszutek <ketuzsezr@darnok.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f1282c84
...@@ -334,9 +334,9 @@ static void ibft_release(struct kobject *kobj) ...@@ -334,9 +334,9 @@ static void ibft_release(struct kobject *kobj)
/* /*
* Routines for parsing the iBFT data to be human readable. * Routines for parsing the iBFT data to be human readable.
*/ */
ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, static ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry,
struct ibft_attribute *attr, struct ibft_attribute *attr,
char *buf) char *buf)
{ {
struct ibft_initiator *initiator = entry->initiator; struct ibft_initiator *initiator = entry->initiator;
void *ibft_loc = entry->header; void *ibft_loc = entry->header;
...@@ -376,9 +376,9 @@ ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, ...@@ -376,9 +376,9 @@ ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry,
return str - buf; return str - buf;
} }
ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, static ssize_t ibft_attr_show_nic(struct ibft_kobject *entry,
struct ibft_attribute *attr, struct ibft_attribute *attr,
char *buf) char *buf)
{ {
struct ibft_nic *nic = entry->nic; struct ibft_nic *nic = entry->nic;
void *ibft_loc = entry->header; void *ibft_loc = entry->header;
...@@ -440,9 +440,9 @@ ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, ...@@ -440,9 +440,9 @@ ssize_t ibft_attr_show_nic(struct ibft_kobject *entry,
return str - buf; return str - buf;
}; };
ssize_t ibft_attr_show_target(struct ibft_kobject *entry, static ssize_t ibft_attr_show_target(struct ibft_kobject *entry,
struct ibft_attribute *attr, struct ibft_attribute *attr,
char *buf) char *buf)
{ {
struct ibft_tgt *tgt = entry->tgt; struct ibft_tgt *tgt = entry->tgt;
void *ibft_loc = entry->header; void *ibft_loc = entry->header;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment