net/bnx2x: replace macro with static function
authorChas Williams <3chas3@gmail.com>
Tue, 11 Oct 2016 23:04:57 +0000 (19:04 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commit1b437b977552fa5e491b5faaf390f4ed9baeb2cc
tree68564ee6362c158d18818d04c48d7fc1f19bc07e
parent5dbc53d7e5a2a46a27a8978367b80fa1d4e41601
net/bnx2x: replace macro with static function

Replace BNX2X_TLV_APPEND() with the clearer and safer bnx2x_add_tlv().
bnx2x_add_tlv() was previously prototyped at some point but can be static.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x_vfpf.c
drivers/net/bnx2x/bnx2x_vfpf.h