|
@@ -308,8 +308,7 @@ static int ck804xrom_init_one(struct pci_dev *pdev,
|
|
|
|
|
|
|
|
out:
|
|
out:
|
|
|
/* Free any left over map structures */
|
|
/* Free any left over map structures */
|
|
|
- if (map)
|
|
|
|
|
- kfree(map);
|
|
|
|
|
|
|
+ kfree(map);
|
|
|
|
|
|
|
|
/* See if I have any map structures */
|
|
/* See if I have any map structures */
|
|
|
if (list_empty(&window->maps)) {
|
|
if (list_empty(&window->maps)) {
|