aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-07-29 20:28:10 +0200
committerDavid Bauer <mail@david-bauer.net>2021-07-29 20:49:57 +0200
commita57d7c29a40ae5b691deafcc267652b918159bc0 (patch)
treeff5c606c3e3118b77c79890b032ce89d1853f7ee /target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
parente8e2b88f5feb852904598cbe8746cc5b3c0022ab (diff)
downloadupstream-a57d7c29a40ae5b691deafcc267652b918159bc0.tar.gz
upstream-a57d7c29a40ae5b691deafcc267652b918159bc0.tar.bz2
upstream-a57d7c29a40ae5b691deafcc267652b918159bc0.zip
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>
Diffstat (limited to 'target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch')
-rw-r--r--target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch b/target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
index 2a72c7c94e..9032b9186c 100644
--- a/target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
+++ b/target/linux/generic/pending-5.10/682-of_net-add-mac-address-increment-support.patch
@@ -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.
*