|
@@ -9360,8 +9360,7 @@ static int __devinit bnx2x_prev_mark_path(struct bnx2x *bp)
|
|
|
struct bnx2x_prev_path_list *tmp_list;
|
|
|
int rc;
|
|
|
|
|
|
- tmp_list = (struct bnx2x_prev_path_list *)
|
|
|
- kmalloc(sizeof(struct bnx2x_prev_path_list), GFP_KERNEL);
|
|
|
+ tmp_list = kmalloc(sizeof(struct bnx2x_prev_path_list), GFP_KERNEL);
|
|
|
if (!tmp_list) {
|
|
|
BNX2X_ERR("Failed to allocate 'bnx2x_prev_path_list'\n");
|
|
|
return -ENOMEM;
|