Commit | Line | Data |
---|---|---|
34e49164 C |
1 | static struct iommu_table *iommu_table_find(struct iommu_table * tbl) |
2 | { | |
3 | for (node = NULL; (node = of_find_all_nodes(node)); ) { | |
4 | if (x) { | |
5 | return it; | |
6 | of_node_put(node); | |
7 | } | |
8 | } | |
9 | } | |
10 | ||
11 | static struct iommu_table *iommu_table_find(struct iommu_table * tbl) | |
12 | { | |
13 | for (node = NULL; (node = something(node)); ) { | |
14 | if (x) { | |
15 | of_node_put(node); | |
16 | return it; | |
17 | } | |
18 | } | |
19 | } | |
20 |