kernel_optimize_test/drivers/mtd
Masahiro Yamada 45586c7078 treewide: remove redundant IS_ERR() before error code check
'PTR_ERR(p) == -E*' is a stronger condition than IS_ERR(p).
Hence, IS_ERR(p) is unneeded.

The semantic patch that generates this commit is as follows:

// <smpl>
@@
expression ptr;
constant error_code;
@@
-IS_ERR(ptr) && (PTR_ERR(ptr) == - error_code)
+PTR_ERR(ptr) == - error_code
// </smpl>

Link: http://lkml.kernel.org/r/20200106045833.1725-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Stephen Boyd <sboyd@kernel.org> [drivers/clk/clk.c]
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> [GPIO]
Acked-by: Wolfram Sang <wsa@the-dreams.de> [drivers/i2c]
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [acpi/scan.c]
Acked-by: Rob Herring <robh@kernel.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-02-04 03:05:27 +00:00
..
chips mtd: cfi_cmdset_0002: fix delayed error detection on HyperFlash 2019-11-09 14:43:53 +05:30
devices MTD core 2020-01-30 15:46:02 -08:00
hyperbus
lpddr
maps MTD core 2020-01-30 15:46:02 -08:00
nand MTD core 2020-01-30 15:46:02 -08:00
parsers mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00
spi-nor MTD core 2020-01-30 15:46:02 -08:00
tests
ubi treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
ftl.c
inftlcore.c
inftlmount.c
Kconfig mtd: parsers: Move CMDLINE parser 2019-09-15 23:50:50 +02:00
Makefile mtd: parsers: Move CMDLINE parser 2019-09-15 23:50:50 +02:00
mtd_blkdevs.c
mtdblock_ro.c
mtdblock.c
mtdchar.c mtd: Initialize all parameters of mtd_oob_ops 2019-10-08 19:22:01 +02:00
mtdconcat.c mtd: concat: Fix a comment referring to an unknown symbol 2020-01-27 17:45:31 +01:00
mtdcore.c mtd: no need to check return value of debugfs_create functions 2019-11-14 10:57:38 +01:00
mtdcore.h
mtdoops.c
mtdpart.c
mtdsuper.c
mtdswap.c mtd: no need to check return value of debugfs_create functions 2019-11-14 10:57:38 +01:00
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c mtd: sm_ftl: fix NULL pointer warning 2020-01-09 20:09:55 +01:00
sm_ftl.h
ssfdc.c