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
..
2020-01-03 09:24:11 +01:00
2020-01-05 16:14:27 +01:00
2020-01-05 16:15:07 +01:00
2020-01-03 09:24:12 +01:00
2020-02-04 03:05:26 +00:00
2020-01-28 16:26:57 -08:00
2020-01-20 11:44:51 +01:00
2020-01-21 07:12:08 +01:00
2020-01-03 09:24:24 +01:00
2020-01-28 16:26:57 -08:00
2020-01-03 09:24:02 +01:00
2019-10-23 17:23:45 +02:00
2020-01-28 16:26:57 -08:00
2020-01-28 16:26:57 -08:00
2020-01-05 16:15:13 +01:00
2020-01-05 16:14:43 +01:00
2020-01-05 16:15:14 +01:00
2020-02-04 03:05:27 +00:00
2020-01-05 16:14:56 +01:00
2020-01-05 16:15:13 +01:00
2020-01-05 16:14:46 +01:00
2020-01-26 09:31:41 +01:00
2020-01-28 16:26:57 -08:00
2019-12-11 07:25:35 +01:00
2020-01-03 09:24:08 +01:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:35 -07:00
2019-08-08 08:18:32 +02:00