]> 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)
commitbd17a88513254bbd79359692cb750d9cb14a3272
tree421e3ef3bf9588b45bf224261b585f3f2639b77b
parent933cf2785a83758e28e75e5b4c2876bc34064613
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