mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-24 01:24:26 +01:00
devices: remove unused functions
cleanup: remove ununsed device interface function "GetDeviceInfo()" Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
@@ -48,8 +48,6 @@ type Device interface {
|
||||
// DeviceType indicates which kind of device it is
|
||||
// e.g. block, vfio or vhost user
|
||||
DeviceType() config.DeviceType
|
||||
// GetDeviceInfo returns device information that the device is created based on
|
||||
GetDeviceInfo() *config.DeviceInfo
|
||||
// GetDeviceDrive returns device specific data used for hotplugging by hypervisor
|
||||
// Caller could cast the return value to device specific struct
|
||||
// e.g. Block device returns *config.BlockDrive and
|
||||
|
||||
Reference in New Issue
Block a user