generic: fix build warning
Fixes a unused variable warning: drivers/of/of_net.c: In function 'of_get_mac_address_mtd': drivers/of/of_net.c:92:19: warning: unused variable 'prop' [-Wunused-variable] Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
@@ -65,7 +65,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
||||
{
|
||||
#ifdef CONFIG_MTD
|
||||
struct platform_device *pdev = of_find_device_by_node(np);
|
||||
@@ -153,28 +158,54 @@ static const void *of_get_mac_address_mt
|
||||
@@ -152,28 +157,54 @@ static const void *of_get_mac_address_mt
|
||||
* If a mtd-mac-address property exists, try to fetch the MAC address from the
|
||||
* specified mtd device.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user