Answer
Yes, redistricting after the 2010 census affected Walsh's district. The boundaries were redrawn to include more Republican voters, making it more difficult for Walsh to win re-election. As a result, he faced a strong challenge from Republican candidate Jim Oberweis in the 2012 election and ultimately lost his seat in Congress.