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