mtd: block2mtd: page_read() never returns NULL
authorRyosuke Saito <raitosyo@gmail.com>
Mon, 23 Apr 2012 10:47:17 +0000 (19:47 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 03:56:52 +0000 (22:56 -0500)
commit39a5d0b93c244f40ee2e1502e4870685b7dcc1fa
tree2d53feef3ca84b4bdd2bb30f8fbf0fcfac583ab0
parent5329d67cc32c0306426dc4bc4b5e66a36cb87ce0
mtd: block2mtd: page_read() never returns NULL

page_read() never returns NULL, so we can remove the NULL check here.

Signed-off-by: Ryosuke Saito <raitosyo@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/block2mtd.c