power: supply: ab8500: remove unused struct 'inst_curr_result_list'
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 28 May 2024 00:06:34 +0000 (01:06 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 2 Jun 2024 23:29:46 +0000 (01:29 +0200)
'inst_curr_result_list' is unused since the original
commit 13151631b5bd ("ab8500-fg: A8500 fuel gauge driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240528000634.196707-3-linux@treblig.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c

index 2ccaf6116c09abb2def00a3bed0de5dc4a0bd7dd..270874eeb934ab65d2f5f956ae7d55da369daca3 100644 (file)
@@ -149,11 +149,6 @@ struct ab8500_fg_flags {
        bool batt_id_received;
 };
 
-struct inst_curr_result_list {
-       struct list_head list;
-       int *result;
-};
-
 /**
  * struct ab8500_fg - ab8500 FG device information
  * @dev:               Pointer to the structure device