git: 8c70a27c4d25 - main - arm: allwinner: a33_codec: Plug set but not used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 10:12:09 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=8c70a27c4d25485bc08a7a11ee8eca6a66a7a4db
commit 8c70a27c4d25485bc08a7a11ee8eca6a66a7a4db
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 10:03:09 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-02-21 10:08:16 +0000
arm: allwinner: a33_codec: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
---
sys/arm/allwinner/a33_codec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sys/arm/allwinner/a33_codec.c b/sys/arm/allwinner/a33_codec.c
index 2b3d5f6ef01c..25209d0b47d8 100644
--- a/sys/arm/allwinner/a33_codec.c
+++ b/sys/arm/allwinner/a33_codec.c
@@ -383,11 +383,8 @@ sun8i_codec_dai_trigger(device_t dev, int go, int pcm_dir)
static int
sun8i_codec_dai_setup_mixer(device_t dev, device_t pcmdev)
{
- struct sun8i_codec_softc *sc;
- sc = device_get_softc(dev);
/* Do nothing for now */
-
return (0);
}