From: aybuke ozdemir Date: Wed, 25 Feb 2015 22:10:20 +0000 (+0200) Subject: Staging: i2o: Remove unnecessary 'out of memory' message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=924954f12448249756ccbc45ba1e5e53bf9cfaee;p=openwrt%2Fstaging%2Fblogic.git Staging: i2o: Remove unnecessary 'out of memory' message This patch removes unnecessay out of memory message fixing the following checkpach.pl warning in device.c Signed-off-by: aybuke ozdemir Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/i2o/device.c b/drivers/staging/i2o/device.c index 2af22553dd4e..162a88762ff1 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; }