]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ravb: make ravb_ptp_interrupt() *void*
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 10 Apr 2016 20:55:15 +0000 (23:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 04:48:33 +0000 (00:48 -0400)
commitd0988a5f77e7a399ac579e629f1dcc23059246e9
tree82771447e81434d82c82f7d028a525a428fa20bc
parentb9aa78d4fbf94cbf62954ce164aadda81b16d7d0
ravb: make ravb_ptp_interrupt() *void*

When we have the ISS.CGIS bit set, we already know that gPTP interrupt has
happened, so an extra GIS register check at the end of ravb_ptp_interrupt()
seems superfluous.  We can model the gPTP interrupt  handler like all other
dedicated interrupt handlers in the driver and make it *void*.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c
drivers/net/ethernet/renesas/ravb_ptp.c