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