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
..
2017-03-16 17:43:10 +08:00
2019-11-15 13:44:17 +08:00
2020-02-04 03:05:27 +00:00
2019-08-02 14:44:33 +10:00
2018-03-09 22:45:34 +08:00
2019-11-25 19:49:58 -08:00
2019-10-26 02:09:53 +11:00
2017-03-16 17:43:11 +08:00
2019-10-26 02:09:54 +11:00
2019-11-08 23:15:51 +08:00
2019-07-27 21:08:32 +10:00
2020-01-06 09:45:59 +01:00
2019-12-11 16:34:45 +08:00
2019-12-11 16:34:45 +08:00
2019-11-17 08:37:29 +08:00
2019-11-08 23:15:51 +08:00
2019-10-26 02:09:55 +11:00
2019-10-05 01:06:18 +10:00
2019-07-27 21:08:32 +10:00
2017-11-02 11:10:55 +01:00
2019-08-08 12:07:49 +10:00
2017-11-02 11:10:55 +01:00
2019-08-02 14:44:33 +10:00
2019-10-26 02:09:55 +11:00
2020-01-06 09:45:59 +01:00
2019-11-01 13:33:42 +08:00
2020-02-04 03:05:27 +00:00
2019-02-20 17:58:50 +01:00
2019-10-26 02:09:56 +11:00
2019-10-26 02:09:56 +11:00
2019-08-02 14:44:33 +10:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:10 +02:00
2019-10-26 02:09:57 +11:00
2019-05-24 17:39:01 +02:00
2019-09-05 14:37:30 +10:00
2019-10-26 02:09:57 +11:00
2018-04-21 00:59:03 +08:00
2019-05-24 17:39:00 +02:00
2019-10-26 02:09:57 +11:00