firewire: cleanups

This patch contains the following cleanups:
- "extern inline" -> "static inline"
- fw-topology.c: make struct fw_node_create static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
此提交包含在:
Adrian Bunk
2007-01-22 19:17:37 +01:00
提交者 Stefan Richter
父節點 21ebcd1224
當前提交 95688e97cd
共有 5 個檔案被更改,包括 10 行新增10 行删除

查看文件

@@ -57,13 +57,13 @@ struct fw_node {
struct fw_port ports[0];
};
extern inline struct fw_node *
static inline struct fw_node *
fw_node(struct list_head *l)
{
return list_entry (l, struct fw_node, link);
}
extern inline struct fw_node *
static inline struct fw_node *
fw_node_get(struct fw_node *node)
{
atomic_inc(&node->ref_count);
@@ -71,7 +71,7 @@ fw_node_get(struct fw_node *node)
return node;
}
extern inline void
static inline void
fw_node_put(struct fw_node *node)
{
if (atomic_dec_and_test(&node->ref_count))