Commit ac71a1f
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>1 parent 7dfaa7b commit ac71a1f
1 file changed
+4
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
| 1060 | + | |
1071 | 1061 | | |
1072 | 1062 | | |
1073 | 1063 | | |
1074 | 1064 | | |
1075 | 1065 | | |
1076 | 1066 | | |
1077 | 1067 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1090 | 1071 | | |
1091 | 1072 | | |
1092 | 1073 | | |
| |||
0 commit comments