OSDN Git Service

netdevsim: move sdev-specific init/uninit code into separate functions
authorJiri Pirko <jiri@mellanox.com>
Fri, 12 Apr 2019 12:49:29 +0000 (14:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2019 23:49:54 +0000 (16:49 -0700)
commit4b3a84bce4e21cb6826ba67c5fc68ce63dad83d9
tree9e2a6266d52d7f68af5089d1774d7ad82908d4e6
parentb26b6946a62f37c1d0f9181288a74e3bee1bf6bb
netdevsim: move sdev-specific init/uninit code into separate functions

In order to improve readability and prepare for future code changes,
move sdev specific init/uninit code into separate functions.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/bpf.c