summaryrefslogtreecommitdiff
path: root/apps/system/mdio/mdio_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/mdio/mdio_main.c')
-rw-r--r--apps/system/mdio/mdio_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/system/mdio/mdio_main.c b/apps/system/mdio/mdio_main.c
index 07dd8752a..2c5976d67 100644
--- a/apps/system/mdio/mdio_main.c
+++ b/apps/system/mdio/mdio_main.c
@@ -222,8 +222,7 @@ int mdio_main(int argc, char *argv[])
for (i = 0; i < 32; i++)
{
- ret = get_phy_reg(phy_id, i, &val_out);
-
+ (void)get_phy_reg(phy_id, i, &val_out);
printf("phy[%d][%d] = 0x%4x\n", phy_id, i, val_out);
}
}