From: Antoine Ténart Date: Fri, 3 Oct 2014 15:01:55 +0000 (+0200) Subject: net: spider_net: do not read mac address again after setting it X-Git-Tag: omap-for-v3.19/prcm-cleanup~141^2^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6a670116921eae11b81f1760e2fff1148712de;p=pandora-kernel.git net: spider_net: do not read mac address again after setting it This patch removes the spider_net_get_mac_address() call at the end of the spider_net_set_mac() function. The dev->dev_addr is instead updated with a memcpy() from sa->sa_data. Since spider_net_get_mac_address() is not used anywhere else, this patch also removes the function. Signed-off-by: Antoine Tenart Signed-off-by: David S. Miller --- Reading git-diff-tree failed