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