SVCRDMA: Check num_sge when setting LAST_CTXT bit
[platform/kernel/linux-starfive.git] / drivers / firewire / fw-topology.h
index 1b56b4a..cedc1ec 100644 (file)
@@ -51,12 +51,6 @@ struct fw_node {
 };
 
 static inline struct fw_node *
-fw_node(struct list_head *l)
-{
-       return list_entry(l, struct fw_node, link);
-}
-
-static inline struct fw_node *
 fw_node_get(struct fw_node *node)
 {
        atomic_inc(&node->ref_count);