]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - net/tipc/discover.c
[TIPC]: Removing useless casts
[linux-2.6.git] / net / tipc / discover.c
index 2b84412031203c479d6418bc39965eb5ca36c2ce..ee94de92ae9916f9c53f3fcd7b46cb917005eba5 100644 (file)
@@ -295,7 +295,7 @@ struct link_req *tipc_disc_init_link_req(struct bearer *b_ptr,
 {
        struct link_req *req;
 
-       req = (struct link_req *)kmalloc(sizeof(*req), GFP_ATOMIC);
+       req = kmalloc(sizeof(*req), GFP_ATOMIC);
        if (!req)
                return NULL;