git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
isdn
/
divert
/
divert_procfs.c
diff --git
a/drivers/isdn/divert/divert_procfs.c
b/drivers/isdn/divert/divert_procfs.c
index
1b37d86
..
06967da
100644
(file)
--- a/
drivers/isdn/divert/divert_procfs.c
+++ b/
drivers/isdn/divert/divert_procfs.c
@@
-9,7
+9,6
@@
*
*/
*
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/smp_lock.h>
@@
-46,7
+45,7
@@
put_info_buffer(char *cp)
return;
if (!*cp)
return;
return;
if (!*cp)
return;
- if (!(ib =
(struct divert_info *)
kmalloc(sizeof(struct divert_info) + strlen(cp), GFP_ATOMIC)))
+ if (!(ib = kmalloc(sizeof(struct divert_info) + strlen(cp), GFP_ATOMIC)))
return; /* no memory */
strcpy(ib->info_start, cp); /* set output string */
ib->next = NULL;
return; /* no memory */
strcpy(ib->info_start, cp); /* set output string */
ib->next = NULL;