alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Greg Dietsche <gregory.dietsche@cuw.edu>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: perex@perex.cz, tiwai@suse.de,
	broonie@opensource.wolfsonmicro.com,
	dp@opensource.wolfsonmicro.com, lrg@ti.com,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wm8940: remove unecessary if statement
Date: Mon, 06 Jun 2011 07:45:47 -0500	[thread overview]
Message-ID: <4DECCBFB.2020307@cuw.edu> (raw)
In-Reply-To: <4DEC9E6B.8030505@cam.ac.uk>

Hi Jonathan,

On 06/06/2011 04:31 AM, Jonathan Cameron wrote:
> On 06/06/11 01:47, Greg Dietsche wrote:
>    
>> the code always returns ret regardless, so if(ret) check is unecessary.
>>      
> Good point, though please spell check your commit messages.
> unecessary ->  unnecessary
>    
oops! usually I'm the guy critiquing spelling :)
> Also if you want to do this sort of cleanup, please also fix the
> equivalent in wm8940_resume and wm8940_add_widgets.  Ack is for
> what is here, plus those if you do them.
>    
I will take a look at these, but it might be a few days. I used 
coccinelle to create this patch and my semantic patch wasn't 'smart' 
enough to find them.
> Just as an aside, there is no earthly point in cc'ing lkml for a
> simple cleanup like this. Just adds to already huge amount of noise!
>    
Thanks for all of your feedback. In your opinion, what is the best way 
for someone such as myself to send patches like these? I read in 
Documentation/SubmittingPatches "Unless you have a reason NOT to do so, 
CC linux-kernel@vger.kernel.org"

Also, for this embarrassing spelling problem... do I submit a new patch? :)

Thanks,
Greg

  parent reply	other threads:[~2011-06-06 12:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06  0:47 [PATCH] wm8940: remove unecessary if statement Greg Dietsche
2011-06-06  9:31 ` Jonathan Cameron
2011-06-06  9:51   ` Liam Girdwood
2011-06-06 20:53     ` [PATCH v2] wm8940: remove unnecessary if statements Greg Dietsche
2011-06-07  8:01       ` Jonathan Cameron
2011-06-07  8:33       ` Liam Girdwood
2011-06-07  8:48       ` Mark Brown
2011-06-06 12:45   ` Greg Dietsche [this message]
2011-06-06 13:05     ` [PATCH] wm8940: remove unecessary if statement Jonathan Cameron
2011-06-06 20:58       ` Greg Dietsche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DECCBFB.2020307@cuw.edu \
    --to=gregory.dietsche@cuw.edu \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dp@opensource.wolfsonmicro.com \
    --cc=jic23@cam.ac.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).