diff options
author | Joachim Eastwood <[email protected]> | 2016-11-04 18:54:06 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-06 22:00:15 -0500 |
commit | b211aa655d264bd2a1f8b05eb75aeda508bd0ade (patch) | |
tree | c4658ebc85c0fab55bc0404e79f309aaae7210f1 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | a4c48ad7370ba57ad899c2a4abd223ba7c6d9c32 (diff) |
stmmac: dwmac-sti: remove clk NULL checks
Since sti_dwmac_parse_data() sets dwmac->clk to NULL if not clock was
provided in DT and NULL is a valid clock there is no need to check for
NULL before using this clock.
Signed-off-by: Joachim Eastwood <[email protected]>
Acked-by: Giuseppe Cavallaro <[email protected]>
Tested-by: Giuseppe Cavallaro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions