Re: [PATCH] net: ethoc: Remove unnecessary #ifdef CONFIG_OF

2015-09-09 Thread David Miller
From: Tobias Klauser Date: Wed, 9 Sep 2015 11:24:29 +0200 > 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 Applied, thanks. -- To unsubscribe from thi

[PATCH] net: ethoc: Remove unnecessary #ifdef CONFIG_OF

2015-09-09 Thread Tobias Klauser
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 --- drivers/net/ethernet/ethoc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers