summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/bssdb.c
diff options
context:
space:
mode:
authorForest Bond <forest@alittletooquiet.net>2009-06-02 00:00:35 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 18:00:51 (GMT)
commit7bb8dc2d7eb5594ec890e822bb0517446d369698 (patch)
tree7667ffc2ce9e7df1baf6276b3d4f710de7df59d9 /drivers/staging/vt6655/bssdb.c
parentc9d0352914e8fdaece56c8c3ea489d7214b0353e (diff)
downloadlinux-fsl-qoriq-7bb8dc2d7eb5594ec890e822bb0517446d369698.tar.xz
Staging: vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals.
vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/bssdb.c')
-rw-r--r--drivers/staging/vt6655/bssdb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index 4bac7b6..746fadc 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -1335,12 +1335,7 @@ start:
wpahdr->req_ie_len = 0;
skb_put(pDevice->skb, sizeof(viawget_wpa_header));
pDevice->skb->dev = pDevice->wpadev;
-//2008-4-3 modify by Chester for wpa
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
pDevice->skb->mac_header = pDevice->skb->data;
-#else
- pDevice->skb->mac.raw = pDevice->skb->data;
-#endif
pDevice->skb->pkt_type = PACKET_HOST;
pDevice->skb->protocol = htons(ETH_P_802_2);
memset(pDevice->skb->cb, 0, sizeof(pDevice->skb->cb));