]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: vchiq_core: remove unused variable type
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 8 Jan 2017 18:15:11 +0000 (18:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:41:31 +0000 (17:41 +0100)
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>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c

index 6b9e13614b96786b6fb57e5055247ff154a70169..e788561a7aa95436a03e837a25658cc6d0b3d029 100644 (file)
@@ -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)) {