]> git.baikalelectronics.ru Git - kernel.git/commit
block: Remove check of PageError
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 17 May 2022 22:12:25 +0000 (18:12 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:06 +0000 (08:51 -0400)
commitc1828ec72d40c7e74d22959566c1aa3eb01e3124
tree421e3ef3bf9588b45bf224261b585f3f2639b77b
parentb6885c39fafb8574f7bb5d50b229e2b12d539a1f
block: Remove check of PageError

If read_mapping_page() sees a page with PageError set, it returns a
PTR_ERR().  Checking PageError again is simply dead code.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
block/partitions/core.c