Odin would have no problem destroying every world that galactus could feed on. He could either kill him through starvation or trap him between dimensions (until he died from starvation).
a long time ago unless they revived odin in the new thor series
__________________
"Why is it the greatest champions of the white race always turn out to be the worst examples of it? YOU! Where the fuck is your CHIN?" - Jesse Custer