Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102840
b: refs/heads/master
c: 3df4e24
h: refs/heads/master
v: v3
  • Loading branch information
Masakazu Mokuno authored and John W. Linville committed Jun 3, 2008
1 parent 6e3cd11 commit 8a4d400
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13de15e71db7a38f02c4d9f642f06541f5acc2b0
refs/heads/master: 3df4e2486a58826f16574ead1818daab0edb59df
9 changes: 0 additions & 9 deletions trunk/drivers/net/ps3_gelic_wireless.c
Original file line number Diff line number Diff line change
Expand Up @@ -2472,16 +2472,9 @@ static struct net_device *gelic_wl_alloc(struct gelic_card *card)
BUILD_BUG_ON(PAGE_SIZE <
sizeof(struct gelic_eurus_scan_info) *
GELIC_EURUS_MAX_SCAN);
wl->buf = (void *)get_zeroed_page(GFP_KERNEL);
if (!wl->buf) {
pr_info("%s:buffer allocation failed\n", __func__);
goto fail_getpage;
}
pr_debug("%s:end\n", __func__);
return netdev;

fail_getpage:
destroy_workqueue(wl->event_queue);
fail_event_workqueue:
destroy_workqueue(wl->eurus_cmd_queue);
fail_cmd_workqueue:
Expand All @@ -2500,8 +2493,6 @@ static void gelic_wl_free(struct gelic_wl_info *wl)

pr_debug("%s: <-\n", __func__);

free_page((unsigned long)wl->buf);

pr_debug("%s: destroy queues\n", __func__);
destroy_workqueue(wl->eurus_cmd_queue);
destroy_workqueue(wl->event_queue);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/ps3_gelic_wireless.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ struct gelic_wl_info {
u8 active_bssid[ETH_ALEN]; /* associated bssid */
unsigned int essid_len;

/* buffer for hypervisor IO */
void *buf;

struct iw_public_data wireless_data;
struct iw_statistics iwstat;
};
Expand Down

0 comments on commit 8a4d400

Please sign in to comment.