Skip to content
Snippets Groups Projects
Commit 5e5d8bc4 authored by Krzysztof Wilczynski's avatar Krzysztof Wilczynski Committed by David S. Miller
Browse files

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: default avatarKrzysztof Wilczynski <kw@linux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ee4c3dea
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment