git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/message/, i2o: Remove unnecessary casts of void ptr returning alloc function...
[pandora-kernel.git]
/
drivers
/
message
/
i2o
/
i2o_config.c
diff --git
a/drivers/message/i2o/i2o_config.c
b/drivers/message/i2o/i2o_config.c
index
7d3cc57
..
098de2b
100644
(file)
--- a/
drivers/message/i2o/i2o_config.c
+++ b/
drivers/message/i2o/i2o_config.c
@@
-1044,8
+1044,7
@@
static long i2o_cfg_ioctl(struct file *fp, unsigned int cmd, unsigned long arg)
static int cfg_open(struct inode *inode, struct file *file)
{
static int cfg_open(struct inode *inode, struct file *file)
{
- struct i2o_cfg_info *tmp =
- (struct i2o_cfg_info *)kmalloc(sizeof(struct i2o_cfg_info),
+ struct i2o_cfg_info *tmp = kmalloc(sizeof(struct i2o_cfg_info),
GFP_KERNEL);
unsigned long flags;
GFP_KERNEL);
unsigned long flags;