arm64: allwinner: aw_sid: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
eb16e362d6
commit
34abc89413
@ -364,7 +364,6 @@ aw_sid_read(device_t dev, uint32_t offset, uint32_t size, uint8_t *buffer)
|
||||
static int
|
||||
aw_sid_sysctl(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
struct aw_sid_softc *sc;
|
||||
device_t dev = arg1;
|
||||
enum aw_sid_fuse_id fuse = arg2;
|
||||
uint8_t data[32];
|
||||
@ -372,8 +371,6 @@ aw_sid_sysctl(SYSCTL_HANDLER_ARGS)
|
||||
uint32_t size;
|
||||
int ret, i;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
/* Get the size of the efuse data */
|
||||
size = 0;
|
||||
aw_sid_get_fuse(fuse, NULL, &size);
|
||||
|
Loading…
Reference in New Issue
Block a user