net: dsa: lan9303: Drop port range check
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Mon, 6 Nov 2017 14:19:49 +0000 (15:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 04:35:01 +0000 (13:35 +0900)
commitac71a1f94418b9b83c9bf04f76954570d88c9590
tree416d1d61ddce61756a23b6ceff30a2715668963a
parent7dfaa7bc99498da1c6c4a48bee8d2d5265161a8c
net: dsa: lan9303: Drop port range check

Now that ds->num_ports is 3, there is no need to check range of "port"
parameter.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c