Commit 5078984
amd-xgbe: Remove the XGBE_LINK state bit
The XGBE_LINK bit is used just to determine whether to call the
netif_carrier_on/off functions. Rather than define and use this bit,
just call the functions. The netif_carrier_ok function can be used in
place of checking the XGBE_LINK bit in the future.
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent afb43e8 commit 5078984
2 files changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
1118 | | - | |
1119 | | - | |
| 1118 | + | |
1120 | 1119 | | |
1121 | 1120 | | |
1122 | 1121 | | |
| |||
1142 | 1141 | | |
1143 | 1142 | | |
1144 | 1143 | | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
| 1144 | + | |
1149 | 1145 | | |
1150 | 1146 | | |
1151 | 1147 | | |
| |||
1156 | 1152 | | |
1157 | 1153 | | |
1158 | 1154 | | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
| 1155 | + | |
1163 | 1156 | | |
1164 | 1157 | | |
1165 | 1158 | | |
| |||
1179 | 1172 | | |
1180 | 1173 | | |
1181 | 1174 | | |
1182 | | - | |
1183 | | - | |
| 1175 | + | |
1184 | 1176 | | |
1185 | 1177 | | |
1186 | 1178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | 462 | | |
464 | 463 | | |
465 | 464 | | |
| |||
0 commit comments