linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Szymon Janc <szymon@janc.net.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] audio: Remove not needed NULL pointer checks
Date: Fri, 29 Jun 2012 14:25:52 +0300	[thread overview]
Message-ID: <20120629112552.GA24842@x220> (raw)
In-Reply-To: <1339617199-5490-1-git-send-email-szymon@janc.net.pl>

Hi Szymon,

On Wed, Jun 13, 2012, Szymon Janc wrote:
> g_new0 always returns valid pointer and there is no need to check that.
> ---
>  audio/a2dp.c  |    2 --
>  audio/avctp.c |    2 --
>  audio/avdtp.c |    2 --
>  audio/avrcp.c |    2 --
>  4 files changed, 8 deletions(-)

Applied. Thanks.

Johan

      reply	other threads:[~2012-06-29 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 19:53 [PATCH] audio: Remove not needed NULL pointer checks Szymon Janc
2012-06-29 11:25 ` Johan Hedberg [this message]

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=20120629112552.GA24842@x220 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=szymon@janc.net.pl \
    /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).