We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a34f1c commit f276d3dCopy full SHA for f276d3d
inc/switchtec/switchtec.h
@@ -483,8 +483,7 @@ static inline int switchtec_is_gen5(struct switchtec_dev *dev)
483
*/
484
static inline int switchtec_max_supported_ports(struct switchtec_dev *dev)
485
{
486
- return switchtec_is_gen5(dev) ? SWITCHTEC_MAX_PORTS :
487
- switchtec_is_gen4(dev) ? 52 : 48;
+ return SWITCHTEC_MAX_PORTS;
488
}
489
490
/**
0 commit comments