diff --git a/files/scripts/gbsyncd.sh b/files/scripts/gbsyncd.sh index 34bcb7044bed..e545dad5a470 100755 --- a/files/scripts/gbsyncd.sh +++ b/files/scripts/gbsyncd.sh @@ -15,10 +15,6 @@ function startplatform() { done } -function waitplatform() { - : -} - function stopplatform1() { if ! docker top gbsyncd$DEV | grep -q /usr/bin/syncd; then debug "syncd process in container gbsyncd$DEV is not running" diff --git a/files/scripts/syncd.sh b/files/scripts/syncd.sh index 50c183f21ab0..4f42661a48e0 100755 --- a/files/scripts/syncd.sh +++ b/files/scripts/syncd.sh @@ -92,16 +92,6 @@ function startplatform() { fi } -function waitplatform() { - - BOOT_TYPE=`getBootType` - if [[ x"$sonic_asic_platform" == x"mellanox" ]]; then - debug "Starting pmon service..." - /bin/systemctl start pmon - debug "Started pmon service" - fi -} - function stopplatform1() { if [[ x$sonic_asic_platform == x"mellanox" ]] && [[ x$TYPE == x"cold" ]]; then diff --git a/files/scripts/syncd_common.sh b/files/scripts/syncd_common.sh index 826cdd731ba6..c9f7c46b3ad0 100755 --- a/files/scripts/syncd_common.sh +++ b/files/scripts/syncd_common.sh @@ -5,7 +5,6 @@ # scripts using this must provide implementations of the following functions: # # startplatform -# waitplatform # stopplatform1 and stopplatform2 # # For examples of these, see gbsyncd.sh and syncd.sh. @@ -141,8 +140,6 @@ wait() { fi fi - waitplatform - /usr/bin/${SERVICE}.sh wait $DEV }