cxgb4vf: convert to use DEFINE_SEQ_ATTRIBUTE macro
authorLiu Shixin <liushixin2@huawei.com>
Wed, 16 Sep 2020 02:50:18 +0000 (10:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2020 00:39:00 +0000 (17:39 -0700)
commitb948577b984a01d24d401d2264efbccc7f0146c1
treec15d4a78d98c176169cb2c4ddfbc18a2fb829a0a
parent04a834592bf51355383db6fc00cb09f776a6b8dc
cxgb4vf: convert to use DEFINE_SEQ_ATTRIBUTE macro

Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c