Skip to content

Commit

Permalink
devlink: remove unused priv_size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ivan Vecera authored and David S. Miller committed Aug 26, 2016
1 parent 145dd5f commit 2a313cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/devlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2a313cd

Please sign in to comment.