How about an AC-130 just doing a run along the coast blowing away every little boat it sees?
Less of a problem with that, but there are only 25 of them. Rather kill terrorists in Iraq an Afghanistan with them because they are a force protection asset. Getting rid of Somali pirates this way is about the same as getting rid of Mecca, not going to happen.