diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2016-06-01 15:25:41 +0200 |
---|---|---|
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2016-07-13 14:06:21 +0000 |
commit | 5c64a078f45da8651528d6df2d524beae5b6abc6 (patch) | |
tree | 46dcfcad9b3d40ce7ec9c86508acafeb50da2fcc /net | |
parent | 7b52246eb91dd3d64242249cabdc96b1ad77024d (diff) |
net: yaip: Removing capabilities() from net_if api
As there is a L2 in the middle, there is no need for a net_if to provide
such information.
Change-Id: I58a35d4d124cd8a67026f32e71713ef06f43b7c5
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/yaip/net_if.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/yaip/net_if.c b/net/yaip/net_if.c index 7e6963fc4..8f69ddbc8 100644 --- a/net/yaip/net_if.c +++ b/net/yaip/net_if.c @@ -469,13 +469,6 @@ int net_if_init(void) if (api && api->init) { api->init(iface); - - if (api->capabilities) { - iface->capabilities = api->capabilities(iface); - } else { - iface->capabilities = 0; - } - init_tx_queue(iface); } |