diff options
| author | Joachim Eastwood <manabian@gmail.com> | 2016-11-04 18:54:06 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-06 22:00:15 -0500 |
| commit | b211aa655d264bd2a1f8b05eb75aeda508bd0ade (patch) | |
| tree | c4658ebc85c0fab55bc0404e79f309aaae7210f1 /net/unix/af_unix.c | |
| 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 <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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
