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

linux@treblig.org posted 2 patches 1 year, 8 months ago
[PATCH 2/2] power: supply: ab8500: remove unused struct 'inst_curr_result_list'
Posted by linux@treblig.org 1 year, 8 months ago
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(-)

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
-- 
2.45.1
Re: [PATCH 2/2] power: supply: ab8500: remove unused struct 'inst_curr_result_list'
Posted by Linus Walleij 1 year, 8 months ago
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