git: ef5ae4e8f8ee - stable/13 - arm64: allwinner: axp81x: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 May 2022 13:21:23 UTC
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=ef5ae4e8f8ee2d7f49501ffdf1403d32d5dc7787
commit ef5ae4e8f8ee2d7f49501ffdf1403d32d5dc7787
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 09:39:05 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-16 13:15:43 +0000
arm64: allwinner: axp81x: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
(cherry picked from commit aeb70a6707f79ab9f31cb812ff7550a7c68f4fb1)
---
sys/arm/allwinner/axp81x.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/arm/allwinner/axp81x.c b/sys/arm/allwinner/axp81x.c
index df083ec49e32..8df781c87a0b 100644
--- a/sys/arm/allwinner/axp81x.c
+++ b/sys/arm/allwinner/axp81x.c
@@ -758,11 +758,9 @@ axp8xx_write(device_t dev, uint8_t reg, uint8_t val)
static int
axp8xx_regnode_init(struct regnode *regnode)
{
- struct axp8xx_reg_sc *sc;
struct regnode_std_param *param;
int rv, udelay;
- sc = regnode_get_softc(regnode);
param = regnode_get_stdparam(regnode);
if (param->min_uvolt == 0)
return (0);