stmmac: dwmac-sti: remove useless of_node check
authorJoachim Eastwood <manabian@gmail.com>
Fri, 4 Nov 2016 17:54:05 +0000 (18:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 03:00:15 +0000 (22:00 -0500)
commita4c48ad7370ba57ad899c2a4abd223ba7c6d9c32
tree4e6f83766325bfe9a359abb951a41eaa15296cf1
parent9811d1e376fd0a1700a5d1c36a4695c89dd67c5f
stmmac: dwmac-sti: remove useless of_node check

Since dwmac-sti is a DT only driver checking for OF node is not necessary.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c