ANDROID: fix build error in ksz9477.c
In commit 65a9383389db ("net: dsa: microchip: fix initial port flush
problem"), a new build warning is added which breaks the Android builds
as we are treating all warnings as errors now. Fix this up by removing
the offending variable that is no longer used to resolve the build.
Fixes: 65a9383389db ("net: dsa: microchip: fix initial port flush problem")
Change-Id: I177a0fd1a17b7099e7a284e627c15edfc181c166
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/net/dsa/microchip/ksz9477.c b/drivers/net/dsa/microchip/ksz9477.c
index 535b641..4d0c2be 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 */