From: Nobuhiro Iwamatsu Date: Thu, 6 Jun 2013 09:45:25 +0000 (+0000) Subject: sh_eth: remove duplicate sh_eth_set_duplex() definitions X-Git-Tag: v3.11-rc1~16^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b0ed2ad49834fe47d3c4171ad189c688a222b9;p=pandora-kernel.git sh_eth: remove duplicate sh_eth_set_duplex() definitions Remove all the duplicate definitions of sh_eth_set_duplex() under different #ifdef's, leaving only one outside the #ifdef's. We have to annotate it with '__maybe_unused' since it's called not from all SoC #ifdef blocks. Signed-off-by: Nobuhiro Iwamatsu [Sergei: annotated sh_eth_set_duplex() as '__maybe_unused', added the changelog, reworded the subject, changing the prefix.] Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed