sed for this awk command

Hi what would be the sed equivalent of this awk command:
awk '/$getsn/{getline;next}{print}' file

It deletes the variable found and the next line after it in a file.
Thanks

sed "/$getsn/{
N
d
}" file

Also can be written as

sed "/$getsn/{N;d;}" file

Thanks bro. It works.