ANDROID: fix build error in ksz9477.c

In commit 65a9383389 ("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: 65a9383389 ("net: dsa: microchip: fix initial port flush problem")
Change-Id: I177a0fd1a17b7099e7a284e627c15edfc181c166
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-07-17 15:09:06 +00:00
parent 2ebd481b31
commit a297eae7e6

View File

@ -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 */