mlx5: remove unused static inlines
[sfrench/cifs-2.6.git] / include / linux / mlx5 / driver.h
index 78655d8d13a73c60b7226018d3390ca2cee60bf1..1b398c9e17b98fbfbf236fb543393d92944c9497 100644 (file)
@@ -863,20 +863,10 @@ struct mlx5_hca_vport_context {
        bool                    grh_required;
 };
 
-static inline void *mlx5_buf_offset(struct mlx5_frag_buf *buf, int offset)
-{
-               return buf->frags->buf + offset;
-}
-
 #define STRUCT_FIELD(header, field) \
        .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field),      \
        .struct_size_bytes   = sizeof((struct ib_unpacked_ ## header *)0)->field
 
-static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev)
-{
-       return pci_get_drvdata(pdev);
-}
-
 extern struct dentry *mlx5_debugfs_root;
 
 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev)