All of lore.kernel.org
 help / color / mirror / Atom feed
From: aybuke ozdemir <aybuke.147@gmail.com>
To: outreachy-kernel@googlegroups.com
Cc: aybuke ozdemir <aybuke.147@gmail.com>
Subject: [PATCH 1/3] Staging: i2o: Remove unnecessary 'out of memory' message
Date: Thu, 26 Feb 2015 00:10:20 +0200	[thread overview]
Message-ID: <1424902222-10105-1-git-send-email-aybuke.147@gmail.com> (raw)

This patch removes unnecessay out of memory message fixing the following
checkpach.pl warning in device.c

Signed-off-by: aybuke ozdemir <aybuke.147@gmail.com>
---
 drivers/staging/i2o/device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/i2o/device.c b/drivers/staging/i2o/device.c
index 2af2255..162a887 100644
--- a/drivers/staging/i2o/device.c
+++ b/drivers/staging/i2o/device.c
@@ -566,7 +566,6 @@ int i2o_parm_table_get(struct i2o_device *dev, int oper, int group,
 
 	opblk = kmalloc(size, GFP_KERNEL);
 	if (opblk == NULL) {
-		printk(KERN_ERR "i2o: no memory for query buffer.\n");
 		return -ENOMEM;
 	}
 
-- 
1.9.1



             reply	other threads:[~2015-02-25 22:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 22:10 aybuke ozdemir [this message]
2015-02-25 22:10 ` [PATCH 2/3] Staging: i2o: Remove unnecessary braces aybuke ozdemir
2015-02-25 22:10 ` [PATCH 3/3] Staging: i2o: Corrected code indentation aybuke ozdemir
2015-02-25 22:19   ` [Outreachy kernel] " Julia Lawall
2015-02-25 22:20 ` [Outreachy kernel] [PATCH 1/3] Staging: i2o: Remove unnecessary 'out of memory' message Julia Lawall
2015-02-25 23:00 ` Greg KH
2015-02-25 23:03   ` Julia Lawall
2015-02-25 23:17     ` aybüke özdemir

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=1424902222-10105-1-git-send-email-aybuke.147@gmail.com \
    --to=aybuke.147@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.