diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2019-10-31 11:42:09 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-10-31 10:54:46 -0700 |
| commit | 2e6a2d7b4508ea01b276d8c7350582a07dca1c23 (patch) | |
| tree | 6709ad4e99e02f8696c246626ed1d2c69f990e1c /include/linux/timerqueue.h | |
| parent | 25911e1b97971a06b4c053f70c7c1eb0c33a607e (diff) | |
| download | cachepc-linux-2e6a2d7b4508ea01b276d8c7350582a07dca1c23.tar.gz cachepc-linux-2e6a2d7b4508ea01b276d8c7350582a07dca1c23.zip | |
mlxsw: spectrum: Move max_width check up before count check
The fact that the port cannot be split further should be checked before
checking the count, so move it.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Shalom Toledo <shalomt@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
