mirror of https://gitee.com/openkylin/linux.git
staging: vc04_services: Remove vchiq_send_remote_release()
Remove unused function vchiq_send_remote_release. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6795dbb860
commit
bf1ca0c6c2
|
@ -3538,17 +3538,6 @@ VCHIQ_STATUS_T vchiq_send_remote_use(struct vchiq_state *state)
|
|||
return status;
|
||||
}
|
||||
|
||||
VCHIQ_STATUS_T vchiq_send_remote_release(struct vchiq_state *state)
|
||||
{
|
||||
VCHIQ_STATUS_T status = VCHIQ_RETRY;
|
||||
|
||||
if (state->conn_state != VCHIQ_CONNSTATE_DISCONNECTED)
|
||||
status = queue_message(state, NULL,
|
||||
VCHIQ_MAKE_MSG(VCHIQ_MSG_REMOTE_RELEASE, 0, 0),
|
||||
NULL, NULL, 0, 0);
|
||||
return status;
|
||||
}
|
||||
|
||||
VCHIQ_STATUS_T vchiq_send_remote_use_active(struct vchiq_state *state)
|
||||
{
|
||||
VCHIQ_STATUS_T status = VCHIQ_RETRY;
|
||||
|
|
|
@ -639,9 +639,6 @@ vchiq_on_remote_use_active(struct vchiq_state *state);
|
|||
extern VCHIQ_STATUS_T
|
||||
vchiq_send_remote_use(struct vchiq_state *state);
|
||||
|
||||
extern VCHIQ_STATUS_T
|
||||
vchiq_send_remote_release(struct vchiq_state *state);
|
||||
|
||||
extern VCHIQ_STATUS_T
|
||||
vchiq_send_remote_use_active(struct vchiq_state *state);
|
||||
|
||||
|
|
Loading…
Reference in New Issue