]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethoc: Remove unnecessary #ifdef CONFIG_OF
authorTobias Klauser <tklauser@distanz.ch>
Wed, 9 Sep 2015 09:24:29 +0000 (11:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2015 21:16:05 +0000 (14:16 -0700)
commit8cd216298686c88c1fef72b908761e18d802740b
tree09da0659252945169257a0b7ed986142a64ae06a
parent348a46414e2c103532a80d62fd71ad3a8bf1c7e0
net: ethoc: Remove unnecessary #ifdef CONFIG_OF

For !CONFIG_OF of_get_property() is defined to always return NULL. Thus
there's no need to protect the call to of_get_property() with #ifdef
CONFIG_OF.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c