Re: [PATCH 0/2] ALSA: ctxfi: Delete an unnecessary check before kfree()
At Tue, 02 Dec 2014 21:50:26 +0100, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Tue, 2 Dec 2014 20:35:41 +0100 > > Another update suggestion was taken into account after a patch was applied > from static source code analysis. > > Markus Elfring (2): > Deletion of an unnecessary check before the function call "kfree" > One function call less in get_daio_rsc() after error detection In these cases, the changes aren't so straightforward, and they don't improve the readability. Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 0/2] ALSA: ctxfi: Delete an unnecessary check before kfree()
From: Markus Elfring Date: Tue, 2 Dec 2014 20:35:41 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Deletion of an unnecessary check before the function call "kfree" One function call less in get_daio_rsc() after error detection sound/pci/ctxfi/ctdaio.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/