ALSA: hda - Map ALC662 model for Foxconn 45CMX/45GMX/45CMX-K
[pandora-kernel.git] / kernel / posix-timers.c
index e36d579..5131e54 100644 (file)
@@ -441,7 +441,7 @@ static struct k_itimer * alloc_posix_timer(void)
                return tmr;
        if (unlikely(!(tmr->sigq = sigqueue_alloc()))) {
                kmem_cache_free(posix_timers_cache, tmr);
-               tmr = NULL;
+               return NULL;
        }
        memset(&tmr->sigq->info, 0, sizeof(siginfo_t));
        return tmr;