]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/ethernet/intel/igb/igb_main.c
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)
commit61d7f75f45231e4a2f2ab7d975555f55f0019800
treed300e7edf09a859f8cd1de2d694fe2f933f01938
parentba5b8dcdb865efaa35692516a7153dc631ba6ffa
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