diff mbox series

[2/2] power: supply: ab8500: remove unused struct 'inst_curr_result_list'

Message ID 20240528000634.196707-3-linux@treblig.org
State Accepted
Commit a5dd84f3bde0252cb39a3ecebbe71d7c2b405194
Headers show
Series power: dead struct removal | expand

Commit Message

Dr. David Alan Gilbert May 28, 2024, 12:06 a.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'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>
---
 drivers/power/supply/ab8500_fg.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Linus Walleij May 29, 2024, 7:47 a.m. UTC | #1
On Tue, May 28, 2024 at 2:06 AM <linux@treblig.org> wrote:

> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> '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>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c
index 2ccaf6116c09..270874eeb934 100644
--- a/drivers/power/supply/ab8500_fg.c
+++ b/drivers/power/supply/ab8500_fg.c
@@ -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