]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
enic: define constants for legacy interrupts offset
authorGovindarajulu Varadarajan <govind.varadar@gmail.com>
Tue, 18 Oct 2022 00:58:04 +0000 (17:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Oct 2022 02:34:28 +0000 (19:34 -0700)
commite2ac2a00dae10997b71870ecf26ca69f4d726537
tree180764ba7b58cc7ef6d26858c02f932e79b88100
parentf3d27ae079fa0da298f6786b0b2cc4d2a59b3539
enic: define constants for legacy interrupts offset

Use macro instead of function calls. These values are constant and will
not change.

Signed-off-by: Govindarajulu Varadarajan <govind.varadar@gmail.com>
Link: https://lore.kernel.org/r/20221018005804.188643-1-govind.varadar@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_main.c