提交 9cf899d1 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NKonrad Rzeszutek <ketuzsezr@darnok.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f1282c84
......@@ -334,7 +334,7 @@ static void ibft_release(struct kobject *kobj)
/*
* 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,
char *buf)
{
......@@ -376,7 +376,7 @@ ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry,
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,
char *buf)
{
......@@ -440,7 +440,7 @@ ssize_t ibft_attr_show_nic(struct ibft_kobject *entry,
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,
char *buf)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册