Repository navigation
Commit cebd2ca
net: fs_enet: remove redundant null check
Because clk_prepare_enable and clk_disable_unprepare already
checked NULL clock parameter, so the additional checks are
unnecessary, just remove them.
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 87c831c commit cebd2ca
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
1047 | | - | |
| 1046 | + | |
1048 | 1047 | | |
1049 | 1048 | | |
1050 | 1049 | | |
| |||
1065 | 1064 | | |
1066 | 1065 | | |
1067 | 1066 | | |
1068 | | - | |
1069 | | - | |
| 1067 | + | |
1070 | 1068 | | |
1071 | 1069 | | |
1072 | 1070 | | |
| |||
0 commit comments