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 2af2255..162a887 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;
        }