]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: i2o: Remove unnecessary 'out of memory' message
authoraybuke ozdemir <aybuke.147@gmail.com>
Wed, 25 Feb 2015 22:10:20 +0000 (00:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:23:58 +0000 (12:23 -0800)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i2o/device.c

index 2af22553dd4e8fdbf7c4bde3bcceabb5ed23e44c..162a88762ff1805c0aef72033885833794c798fa 100644 (file)
@@ -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;
        }