Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123103
b: refs/heads/master
c: 13ba3c0
h: refs/heads/master
i:
  123101: afd3778
  123099: 3a9a0b9
  123095: c0a36fc
  123087: e9d3980
  123071: 276ad40
v: v3
  • Loading branch information
Nathan Lynch authored and Paul Mackerras committed Dec 21, 2008
1 parent 66b181d commit abf7141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2ea25b958968c152c6fac0594f2c9aa8b59eb8d
refs/heads/master: 13ba3c0092b4db272d1f643206c1b55f4fe415a6
7 changes: 1 addition & 6 deletions trunk/arch/powerpc/kernel/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ static bool cache_is_unified(struct device_node *np)

static struct cache_desc * __cpuinit create_cache_index_info(struct device_node *np, struct kobject *parent, int index, int level)
{
const phandle *next_cache_phandle;
struct device_node *next_cache;
struct cache_desc *new, **end;

Expand All @@ -591,11 +590,7 @@ static struct cache_desc * __cpuinit create_cache_index_info(struct device_node
while (*end)
end = &(*end)->next;

next_cache_phandle = of_get_property(np, "l2-cache", NULL);
if (!next_cache_phandle)
goto out;

next_cache = of_find_node_by_phandle(*next_cache_phandle);
next_cache = of_find_next_cache_node(np);
if (!next_cache)
goto out;

Expand Down

0 comments on commit abf7141

Please sign in to comment.