diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-10-06 20:10:11 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-10-16 18:00:09 -0400 |
commit | e5f84f82bdc5f8a5ce3d33aa6a2cc727fc08bda6 (patch) | |
tree | f3b165f1971dd2d6ca3c3819656dc55d0dd7256d /drivers/firewire/fw-topology.h | |
parent | a64408b96b5f67c2778958a230b5cfa3408a4a81 (diff) |
firewire: a header cleanup
fw_node() is not used (and not useful) outside fw-topology.c.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-topology.h')
-rw-r--r-- | drivers/firewire/fw-topology.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h index 1b56b4ac7fb2..cedc1ec906e9 100644 --- a/drivers/firewire/fw-topology.h +++ b/drivers/firewire/fw-topology.h | |||
@@ -51,12 +51,6 @@ struct fw_node { | |||
51 | }; | 51 | }; |
52 | 52 | ||
53 | static inline struct fw_node * | 53 | static inline struct fw_node * |
54 | fw_node(struct list_head *l) | ||
55 | { | ||
56 | return list_entry(l, struct fw_node, link); | ||
57 | } | ||
58 | |||
59 | static inline struct fw_node * | ||
60 | fw_node_get(struct fw_node *node) | 54 | fw_node_get(struct fw_node *node) |
61 | { | 55 | { |
62 | atomic_inc(&node->ref_count); | 56 | atomic_inc(&node->ref_count); |