projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[AGPGART] allow drm populated agp memory types cleanups
[linux-drm-fsl-dcu.git]
/
arch
/
mips
/
kernel
/
apm.c
diff --git
a/arch/mips/kernel/apm.c
b/arch/mips/kernel/apm.c
index 528e731049c123c2a77886d573a2001458405901..ba16d07588cb88ad540d04ab307df20cd3d2283c 100644
(file)
--- a/
arch/mips/kernel/apm.c
+++ b/
arch/mips/kernel/apm.c
@@
-356,7
+356,7
@@
static int apm_open(struct inode * inode, struct file * filp)
{
struct apm_user *as;
- as =
(struct apm_user *)
kzalloc(sizeof(*as), GFP_KERNEL);
+ as = kzalloc(sizeof(*as), GFP_KERNEL);
if (as) {
/*
* XXX - this is a tiny bit broken, when we consider BSD