]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: macvlan_count_rx shouldn't be static inline AND extern
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 3 Apr 2018 21:16:19 +0000 (17:16 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Apr 2018 15:26:19 +0000 (08:26 -0700)
commit4470c8a9900b05198aab9d6a496c00399f27cc20
tree81f9e67f6a2f0331aa34ce00800dc2afa23775c1
parent2996dc5354d402cb39301d60ab9aad4e68cb7147
macvlan: macvlan_count_rx shouldn't be static inline AND extern

It doesn't make sense to define macvlan_count_rx as a static inline and
then add a forward declaration after that as an extern. I am dropping the
extern declaration since it seems like it is something that likely got
missed when the function was made an inline.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
include/linux/if_macvlan.h