net: hns: Move static keyword to the front of declaration
authorKrzysztof Wilczynski <kw@linux.com>
Wed, 4 Sep 2019 14:21:16 +0000 (16:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:38:42 +0000 (12:38 +0200)
commit5e5d8bc4a07319aa6961b6ee2d4813626e1fcf13
treea04dab8bf21b61b0c870b783221f52b42ca1b5bc
parentee4c3deac70dcc8c727a4192d9a7a56593f02121
net: hns: Move static keyword to the front of declaration

Move the static keyword to the front of declaration of g_dsaf_mode_match,
and resolve the following compiler warning that can be seen when building
with warnings enabled (W=1):

drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:27:1: warning:
  â€˜static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c