diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-05-20 21:03:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-22 01:57:26 +0300 |
commit | def5cd3cfd01704ca9bad1c32e75f0144b746511 (patch) | |
tree | ebf5fc9695a9d8f40af29908802601e8ab2988e4 /drivers/mfd/tps65010.c | |
parent | 15ffac73bb3e029e9f86deb45837b9a4999a9a46 (diff) | |
download | linux-def5cd3cfd01704ca9bad1c32e75f0144b746511.tar.xz |
stmmac: drop unnecessary dt checks in stmmac_probe_config_dt
Since the caller already check the presence of a of_node there
is no need to repeat the check in stmmac_probe_config_dt.
There is also no point in checking the return value of the
of_match_device function since if there wasn't match in the
first place we would never be in this function.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/tps65010.c')
0 files changed, 0 insertions, 0 deletions