devlink: remove unused priv_size
authorIvan Vecera <ivecera@redhat.com>
Thu, 25 Aug 2016 14:46:44 +0000 (16:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2016 18:55:18 +0000 (11:55 -0700)
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>
include/net/devlink.h

index c99ffe8cef3c1a6c7f6ad9db2af7ead71e86dfde..211bd3c37028d80fa1fd2a7849757008d4b6ee7f 100644 (file)
@@ -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,