Revert "Reload BCM SDK kmods on syncd start to handle syncd restart issues (#12804)"

This reverts commit 132c6e934a.
This commit is contained in:
Ying Xie 2022-12-01 19:47:33 +00:00
parent 60afb50c52
commit 7e910aecad

View File

@ -28,19 +28,6 @@ function startplatform() {
debug "Firmware update procedure ended"
fi
if [[ x"$sonic_asic_platform" == x"broadcom" ]]; then
if [[ x"$WARM_BOOT" != x"true" ]]; then
is_bcm0=$(ls /sys/class/net | grep bcm0)
if [[ "$is_bcm0" == "bcm0" ]]; then
debug "stop SDK opennsl-modules ..."
/etc/init.d/opennsl-modules stop
debug "start SDK opennsl-modules ..."
/etc/init.d/opennsl-modules start
debug "started SDK opennsl-modules"
fi
fi
fi
if [[ x"$sonic_asic_platform" == x"barefoot" ]]; then
is_usb0=$(ls /sys/class/net | grep usb0)
if [[ "$is_usb0" == "usb0" ]]; then