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