To remove shared devices from the finder sidebar:
From the Finder
Click on "Finder" next to the Apple in the top left corner
Select the Finder's "preferences"
Select the Sidebar tab
Under Shared, deselect "Connected Servers" and "Bonjour computers"
That should do it