]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: bcm2835-audio: remove spaces after cast
authorAishwarya Pant <aishpant@gmail.com>
Fri, 3 Mar 2017 18:16:53 +0000 (23:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 13:12:31 +0000 (14:12 +0100)
Remove instances of unnecessary blank space after cast in bcm2835-vchiq.c

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c

index df1f3dd9e2266e7d3cf0fcd5440a2918e1cef8b2..3cc75b381f4cc9734ddd53c278ac34941718403e 100644 (file)
@@ -125,7 +125,7 @@ static void my_wq_function(struct work_struct *work)
                LOG_ERR(" Unexpected work: %p:%d\n", w->alsa_stream, w->cmd);
                break;
        }
-       kfree((void *) work);
+       kfree((void *)work);
        LOG_DBG(" .. OUT %d\n", ret);
 }
 
@@ -854,7 +854,7 @@ static int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream,
                                NULL);
                } else {
                        while (count > 0) {
-                               int bytes = min((int) m.u.write.max_packet, (int) count);
+                               int bytes = min((int)m.u.write.max_packet, (int)count);
 
                                status = bcm2835_vchi_msg_queue(instance->vchi_handle[0],
                                                                src, bytes);