]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sctp/sm_sideeffect.c
net: Remove casts of void *
[mirror_ubuntu-artful-kernel.git] / net / sctp / sm_sideeffect.c
index 534c2e5feb054c933cbd0dcf46a0cb66386646dd..1b2bb648734221f1103605f47b150eb5ad684727 100644 (file)
@@ -1201,7 +1201,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type,
        int local_cork = 0;
 
        if (SCTP_EVENT_T_TIMEOUT != event_type)
-               chunk = (struct sctp_chunk *) event_arg;
+               chunk = event_arg;
 
        /* Note:  This whole file is a huge candidate for rework.
         * For example, each command could either have its own handler, so