Re: [PATCH net-next 1/4] igb: refactor and simplify time sync interrupt handling
From: Jeff Kirsher <hidden>
Date: 2013-05-28 00:44:20
From: Jeff Kirsher <hidden>
Date: 2013-05-28 00:44:20
On Mon, 2013-05-27 at 11:21 +0200, Richard Cochran wrote:
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. Also, reading the TSICR register already acknowledges the time sync interrupts, and so there is no need to write that register at all. Signed-off-by: Richard Cochran <richardcochran@gmail.com> --- drivers/net/ethernet/intel/igb/igb_main.c | 47 +++++++++++------------------ 1 file changed, 17 insertions(+), 30 deletions(-)
Thanks Richard, I will add this to my queue.