Re: [PATCH] sound/soc/at32: Useless NULL test

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Brown
Date: Friday, September 26, 2008 - 7:00 am

On Fri, Sep 26, 2008 at 03:23:46PM +0200, Julien Brunel wrote:


Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

For future reference if you're submitting other similar things (which I
guess you will given that you've got a tool to check for this stuff)
it'd be helpful if you could rewrite the explanation for the NULL test
to be something like:

    The test (ssc != NULL) is redundant since it can only be reached
    when ssc is guaranteed to have been set to a valid ssc.

which is much easier to parse.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sound/soc/at32: Useless NULL test, Julien Brunel, (Fri Sep 26, 6:23 am)
Re: [PATCH] sound/soc/at32: Useless NULL test, Mark Brown, (Fri Sep 26, 7:00 am)
Re: [PATCH] sound/soc/at32: Useless NULL test, Takashi Iwai, (Fri Sep 26, 7:45 am)