diff options
Diffstat (limited to 'arch/arm/kernel/apm.c')
-rw-r--r-- | arch/arm/kernel/apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/apm.c b/arch/arm/kernel/apm.c index a11fb9a40c04..2c37b70b17ab 100644 --- a/arch/arm/kernel/apm.c +++ b/arch/arm/kernel/apm.c | |||
@@ -423,7 +423,7 @@ static int apm_open(struct inode * inode, struct file * filp) | |||
423 | { | 423 | { |
424 | struct apm_user *as; | 424 | struct apm_user *as; |
425 | 425 | ||
426 | as = (struct apm_user *)kzalloc(sizeof(*as), GFP_KERNEL); | 426 | as = kzalloc(sizeof(*as), GFP_KERNEL); |
427 | if (as) { | 427 | if (as) { |
428 | /* | 428 | /* |
429 | * XXX - this is a tiny bit broken, when we consider BSD | 429 | * XXX - this is a tiny bit broken, when we consider BSD |