mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04: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:
committed by
Greg Kroah-Hartman
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)) {
|
||||
|
||||
Reference in New Issue
Block a user