Committed by
Brian O'Connor
Remove null check because it is always evaluated as false
Change-Id: I646a4bca5f44b7faeb103a6031a3e0c05b3876be
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -387,7 +387,7 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { | ... | @@ -387,7 +387,7 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { |
387 | } | 387 | } |
388 | 388 | ||
389 | // if true, there was less channels than can be tightly packed. | 389 | // if true, there was less channels than can be tightly packed. |
390 | - Frequency grid = (chl == null) ? Frequency.ofGHz(100) : chl.frequency(); | 390 | + Frequency grid = chl.frequency(); |
391 | // say Linc's 1st slot starts at CENTER and goes up from there. | 391 | // say Linc's 1st slot starts at CENTER and goes up from there. |
392 | Frequency min = CENTER.add(grid); | 392 | Frequency min = CENTER.add(grid); |
393 | Frequency max = CENTER.add(grid.multiply(numChls)); | 393 | Frequency max = CENTER.add(grid.multiply(numChls)); | ... | ... |
-
Please register or login to post a comment