diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-02-14 15:57:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-16 08:32:03 +0000 |
commit | a260f080660ef8bac97404dd0b9ddbe35a608426 (patch) | |
tree | ab124b0f59f08ee8366f3bb0d6a7628871fd9e0f /drivers/hv | |
parent | 31f26e4fec1fd9fd51efab0aee6b6c370b5e27e7 (diff) |
net: ravb: Get rid of the temporary variable irq
The 4th argument of ravb_setup_irq() is used to save the IRQ number that
will be further used by the driver code. Not all ravb_setup_irqs() calls
need to save the IRQ number. The previous code used to pass a dummy
variable as the 4th argument in case the IRQ is not needed for further
usage. That is not necessary as the code from ravb_setup_irq() can detect
by itself if the IRQ needs to be saved. Thus, get rid of the code that is
not needed.
Reported-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions