diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-17 13:06:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-17 16:08:39 +0300 |
commit | 9350016415b68761bd8b31aad1e21d7b672ddab9 (patch) | |
tree | 215dbd72886b7d77ede2bb710a176f415885460e | |
parent | 9f76a9d1849d38ab657828f8a4195e234902fb11 (diff) | |
download | linux-9350016415b68761bd8b31aad1e21d7b672ddab9.tar.xz |
net: dsa: microchip: fix build warning
In commit 65a9383389db ("net: dsa: microchip: fix initial port flush
problem"), the build warning of an unused variable showed up. Fix this
by removing the variable entirely.
Fixes: 65a9383389db ("net: dsa: microchip: fix initial port flush problem")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/dsa/microchip/ksz9477.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c index 535b64155320..4d0c2be652ae 100644 --- a/drivers/net/dsa/microchip/ksz9477.c +++ b/drivers/net/dsa/microchip/ksz9477.c @@ -195,7 +195,6 @@ static int ksz9477_wait_alu_sta_ready(struct ksz_device *dev) static int ksz9477_reset_switch(struct ksz_device *dev) { - u8 data8; u32 data32; /* reset switch */ |