staging: media: lirc: Fixes unnecessary return warning.
[firefly-linux-kernel-4.4.55.git] / drivers / staging / media / lirc / lirc_zilog.c
index 0bf4bb3f0811019349e31c8ae410db915d94bf66..567feba0011c4498bb62fb544fdf52801999a322 100644 (file)
@@ -258,7 +258,6 @@ static void release_ir_rx(struct kref *ref)
        /* Don't put_ir_device(rx->ir) here; lock can't be freed yet */
        ir->rx = NULL;
        /* Don't do the kfree(rx) here; we still need to kill the poll thread */
-       return;
 }
 
 static int put_ir_rx(struct IR_rx *rx, bool ir_devices_lock_held)
@@ -512,7 +511,6 @@ static int set_use_inc(void *data)
 
 static void set_use_dec(void *data)
 {
-       return;
 }
 
 /* safe read of a uint32 (always network byte order) */