* [PATCH] I2O: Remove redundant GFP_KERNEL type flag in kmalloc().
@ 2007-04-30 8:38 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2007-04-30 8:38 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton
Remove the apparently redundant GFP_KERNEL type flag in the call to
kmalloc().
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
---
diff --git a/drivers/message/i2o/device.c b/drivers/message/i2o/device.c
index b9df143..8ef3ca4 100644
--- a/drivers/message/i2o/device.c
+++ b/drivers/message/i2o/device.c
@@ -485,7 +485,7 @@ int i2o_parm_field_get(struct i2o_device *i2o_dev, int group, int field,
u8 *resblk; /* 8 bytes for header */
int rc;
- resblk = kmalloc(buflen + 8, GFP_KERNEL | GFP_ATOMIC);
+ resblk = kmalloc(buflen + 8, GFP_ATOMIC);
if (!resblk)
return -ENOMEM;
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-30 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-30 8:38 [PATCH] I2O: Remove redundant GFP_KERNEL type flag in kmalloc() Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®