]> git.baikalelectronics.ru Git - kernel.git/commit
igb: refactor time sync interrupt handling
authorRichard Cochran <richardcochran@gmail.com>
Fri, 21 Nov 2014 20:51:10 +0000 (20:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Jan 2015 02:10:18 +0000 (18:10 -0800)
commit8413c368738539804e4103fec94d78eced4d2bef
treed300e7edf09a859f8cd1de2d694fe2f933f01938
parentd053a46ee11d8f23d6b00dcf4d781a528a0a1a3e
igb: refactor time sync interrupt handling

The code that handles the time sync interrupt is repeated in three
different places. This patch refactors the identical code blocks into
a single helper function.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c