Guenter Roeck
e2bfc28afa
power: supply: ab8500: Drop unnecessary NULL check after container_of
...
The result of container_of() operations is never NULL unless the element
is the first element of the embedded structure, which is not the case here.
The NULL check is therefore unnecessary and misleading. Remove it.
This change was made automatically with the following Coccinelle script.
@@
type t;
identifier v;
statement s;
@@
<+...
(
t v = container_of(...);
|
v = container_of(...);
)
...
when != v
- if (\( !v \| v == NULL \) ) s
...+>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2021-06-03 18:50:45 +02:00
..
2021-04-26 11:20:10 -07:00
2021-05-07 12:11:05 -07:00
2021-04-27 13:42:11 -07:00
2021-05-05 13:24:11 -07:00
2021-05-07 16:01:08 -07:00
2021-05-07 00:26:34 -07:00
2021-05-07 00:26:33 -07:00
2021-04-18 09:36:56 +03:00
2021-05-07 11:35:12 -07:00
2021-04-29 11:57:23 -07:00
2021-04-26 12:11:52 -07:00
2021-05-07 00:26:34 -07:00
2021-05-05 13:24:11 -07:00
2021-05-01 10:14:08 -07:00
2021-04-26 15:10:25 -07:00
2021-05-01 10:14:08 -07:00
2021-04-16 18:21:56 -07:00
2021-05-04 11:24:46 -07:00
2021-04-28 15:59:13 -07:00
2021-04-26 09:43:16 -07:00
2021-05-07 12:11:05 -07:00
2021-04-26 12:11:52 -07:00
2021-05-05 12:39:29 -07:00
2021-05-09 13:42:39 -07:00
2021-04-16 07:26:50 +02:00
2021-04-29 21:47:22 +02:00
2021-04-16 00:14:49 +02:00
2021-04-27 18:09:44 -07:00
2021-04-26 15:03:23 -07:00
2021-05-01 10:14:08 -07:00
2021-04-30 13:01:02 -07:00
2021-04-24 22:21:01 +02:00
2021-04-26 16:32:11 -07:00
2021-05-07 11:35:12 -07:00
2021-05-06 23:37:55 -07:00
2021-04-27 10:16:46 -07:00
2021-05-05 13:24:11 -07:00
2021-05-01 10:14:08 -07:00
2021-05-06 19:24:11 -07:00
2021-05-03 12:23:03 -07:00
2021-04-16 23:57:51 +10:00
2021-04-28 16:10:33 -07:00
2021-05-07 00:34:51 -07:00
2021-05-07 00:34:51 -07:00
2021-05-02 00:43:35 +09:00
2021-04-26 11:08:23 +02:00
2021-04-28 15:59:13 -07:00
2021-05-01 09:33:00 -07:00
2021-04-28 15:56:51 -07:00
2021-04-26 11:14:21 -07:00
2021-05-04 18:08:40 -07:00
2021-05-08 08:31:46 -07:00
2021-05-06 19:24:11 -07:00
2021-05-04 09:39:26 +02:00
2021-05-03 13:57:56 -05:00
2021-05-07 00:26:34 -07:00
2021-05-06 14:39:50 -07:00
2021-05-01 10:14:08 -07:00
2021-04-29 11:57:23 -07:00
2021-05-09 00:29:45 +09:00
2021-05-07 14:49:18 -07:00
2021-06-03 18:50:45 +02:00
2021-04-26 11:20:10 -07:00
2021-05-01 10:14:08 -07:00
2021-05-05 12:53:16 -07:00
2021-04-28 15:59:13 -07:00
2021-05-04 11:13:33 -07:00
2021-05-05 13:24:11 -07:00
2021-05-03 12:15:21 -07:00
2021-05-07 11:35:12 -07:00
2021-05-08 10:44:36 -07:00
2021-04-26 09:43:16 -07:00
2021-05-01 09:33:00 -07:00
2021-04-30 12:48:14 -07:00
2021-04-30 12:44:02 -07:00
2021-05-08 10:44:36 -07:00
2021-04-26 12:11:52 -07:00
2021-05-05 12:46:48 -07:00
2021-05-02 00:43:35 +09:00
2021-04-28 17:22:10 -07:00
2021-05-03 04:55:54 -04:00
2021-05-01 09:33:00 -07:00
2021-05-05 13:31:39 -07:00
2021-05-09 14:03:33 -07:00
2021-04-29 19:06:49 +02:00
2021-05-04 04:19:59 -04:00
2021-04-28 15:59:13 -07:00
2021-05-04 10:58:49 -07:00
2021-05-05 13:31:39 -07:00