mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
staging: vchiq_core: remove unused variable type
This variable is assigned a value, but never used. So remove it. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c5520ee074
commit
b19dae1d2f
@ -1513,12 +1513,10 @@ parse_open(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header)
|
||||
{
|
||||
VCHIQ_SERVICE_T *service = NULL;
|
||||
int msgid, size;
|
||||
int type;
|
||||
unsigned int localport, remoteport;
|
||||
|
||||
msgid = header->msgid;
|
||||
size = header->size;
|
||||
type = VCHIQ_MSG_TYPE(msgid);
|
||||
localport = VCHIQ_MSG_DSTPORT(msgid);
|
||||
remoteport = VCHIQ_MSG_SRCPORT(msgid);
|
||||
if (size >= sizeof(struct vchiq_open_payload)) {
|
||||
|
Loading…
Reference in New Issue
Block a user