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