summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2017-11-30 18:21:18 -0600
committerDavid S. Miller <davem@davemloft.net>2017-12-01 16:36:32 -0500
commitfb1a732dd5191e98a34fd99ecdf0f23824d2a673 (patch)
treedb94bbe270c319773c0c7fdbe3a83cea37b311be /drivers/net/ethernet/ti/cpsw.c
parentb5d31f29402791d9d4fadddb2f2d507fefd95939 (diff)
downloadlinux-fb1a732dd5191e98a34fd99ecdf0f23824d2a673.tar.bz2
net: ethernet: ti: ale: move static initialization in cpsw_ale_create()
Move static initialization from cpsw_ale_start() to cpsw_ale_create() as it does not make much sence to perform static initializtion in cpsw_ale_start() which is called everytime netif[s] is opened. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
0 files changed, 0 insertions, 0 deletions