lib/opal: remove deprecated spdk_opal_supported()

This API has been deprecated since SPDK 20.07,
see commit (b2947f52).

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Idb45906c81ea5682c6a67def0265910266d861b5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6629
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
Tomasz Zawadzki 2021-03-02 08:49:30 -05:00
parent 2770a5d7f8
commit 38d13d06a8
4 changed files with 4 additions and 9 deletions

View File

@ -54,6 +54,10 @@ independent SPDK processes are running on one node. The filter function can
then be implemented in these processes to decide which SSDs to probe based on
the new SSD's PCI address.
### opal
Removed the `spdk_opal_supported` API.
### sock
The type of enable_placement_id in struct spdk_sock_impl_opts is changed from

View File

@ -102,8 +102,6 @@ void spdk_opal_dev_destruct(struct spdk_opal_dev *dev);
struct spdk_opal_d0_features_info *spdk_opal_get_d0_features_info(struct spdk_opal_dev *dev);
__attribute__((__deprecated__)) bool spdk_opal_supported(struct spdk_opal_dev *dev);
int spdk_opal_cmd_take_ownership(struct spdk_opal_dev *dev, char *new_passwd);
/**

View File

@ -2539,12 +2539,6 @@ spdk_opal_get_d0_features_info(struct spdk_opal_dev *dev)
return &dev->feat_info;
}
bool
spdk_opal_supported(struct spdk_opal_dev *dev)
{
return false;
}
struct spdk_opal_locking_range_info *
spdk_opal_get_locking_range_info(struct spdk_opal_dev *dev, enum spdk_opal_locking_range id)
{

View File

@ -202,7 +202,6 @@
spdk_opal_dev_construct;
spdk_opal_dev_destruct;
spdk_opal_get_d0_features_info;
spdk_opal_supported;
spdk_opal_cmd_take_ownership;
spdk_opal_cmd_revert_tper;
spdk_opal_cmd_activate_locking_sp;