Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbe50b5f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Remove unused code"

parents 1ff1fe40 522b3226
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -837,23 +837,6 @@ err_unknown_device:
	return rc;
}

static int venus_hfi_unvote_buses(void *dev)
{
	struct venus_hfi_device *device = dev;
	int rc = 0;

	if (!device) {
		dprintk(VIDC_ERR, "Invalid device in %s\n", __func__);
		return -EINVAL;
	}

	mutex_lock(&device->lock);
	rc = __unvote_buses(device);
	mutex_unlock(&device->lock);

	return rc;
}

static int __vote_buses(struct venus_hfi_device *device,
		struct vidc_bus_vote_data *data, int num_data)
{
@@ -4634,7 +4617,6 @@ static void venus_init_hfi_callbacks(struct hfi_device *hdev)
	hdev->session_get_property = venus_hfi_session_get_property;
	hdev->scale_clocks = venus_hfi_scale_clocks;
	hdev->vote_bus = venus_hfi_vote_buses;
	hdev->unvote_bus = venus_hfi_unvote_buses;
	hdev->get_fw_info = venus_hfi_get_fw_info;
	hdev->get_core_capabilities = venus_hfi_get_core_capabilities;
	hdev->suspend = venus_hfi_suspend;
+0 −1
Original line number Diff line number Diff line
@@ -1443,7 +1443,6 @@ struct hfi_device {
						unsigned long instant_bitrate);
	int (*vote_bus)(void *dev, struct vidc_bus_vote_data *data,
			int num_data);
	int (*unvote_bus)(void *dev);
	int (*get_fw_info)(void *dev, enum fw_info info);
	int (*session_clean)(void *sess);
	int (*get_core_capabilities)(void *dev);