summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-01 20:58:22 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-01 13:32:11 -0700
commit08a66859e69264f3223560d06b88e80c1a6a6387 (patch)
tree509c8808edb8e2d66aaa5d6fefccc1c862a1dca0 /drivers
parent0a6531ebea13b164825ba28e77dcbed3e9386884 (diff)
FS-Cache: Remove unneeded null checks
fscache_write_op() makes unnecessary checks of the page variable to see if it is NULL. It can't be NULL at those points as the kernel would already have crashed a little higher up where we examined page->index. Furthermore, unless radix_tree_gang_lookup_tag() can return 1 but no page, a NULL pointer crash should not be encountered there as we can only get there if r_t_g_l_t() returned 1. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions