summaryrefslogtreecommitdiff
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2016-08-25 16:46:44 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-26 11:55:18 -0700
commit2a313cdf1e6e4cc8cc3f16f976e1abfbdd0626fa (patch)
tree003b7c20910c2908df4e06fdf1d34e05f2e13a18 /include/net/devlink.h
parent145dd5f9c88f6ee645662df0be003e8f04bdae93 (diff)
devlink: remove unused priv_size
Remove unused and useless priv_size member from struct devlink_ops. Cc: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r--include/net/devlink.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h
index c99ffe8cef3c..211bd3c37028 100644
--- a/include/net/devlink.h
+++ b/include/net/devlink.h
@@ -50,7 +50,6 @@ struct devlink_sb_pool_info {
};
struct devlink_ops {
- size_t priv_size;
int (*port_type_set)(struct devlink_port *devlink_port,
enum devlink_port_type port_type);
int (*port_split)(struct devlink *devlink, unsigned int port_index,