linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / char / n_r3964.c
index 203dc2b..c48de09 100644 (file)
@@ -951,8 +951,7 @@ static void add_msg(struct r3964_client_info *pClient, int msg_id, int arg,
    {
 queue_the_message:
 
-      pMsg = kmalloc(sizeof(struct r3964_message),
-                    error_code?GFP_ATOMIC:GFP_KERNEL);
+      pMsg = kmalloc(sizeof(struct r3964_message), GFP_KERNEL);
       TRACE_M("add_msg - kmalloc %p",pMsg);
       if(pMsg==NULL) {
          return;