]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite75635c10260926e517f39db8fe20f0a0b36a119
treec15d4a78d98c176169cb2c4ddfbc18a2fb829a0a
parent0400160c76ab7dff411c20878f1dfb66eaed4bce
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