SAN FRANCISCO -- The Giants made the requisite transaction on Friday afternoon to activate Matt Cain from the 15-day disabled list in time to take the mound against the New York Mets in the opener of a 10-game homestand.
Left-handed reliever David Huff was designated for assignment to clear a space on the 25-man roster, the team announced on Twitter.
Cain, 29, injured his hamstring on May 21 against the Rockies and missed two starts, both of which were lost by Yusmeiro Petit.
After his first career trip to the disabled list at the end of last year, the Giants workhorse has now hit the DL twice this season. He was shelved and missed two starts in early May when he cut himself while making a sandwich.
In eight starts this year, Cain is 1-3 with a 3.66 ERA and 39 strikeouts to 17 walks.
Huff, 29, posted a 6.30 ERA with a 1-0 record, 11 strikeouts and six walks in 16 outings this year for the Giants. Dating back to May 17, he allowed 11 runs over his final six appearances.