diff options
author | Robert Love <robert.w.love@intel.com> | 2009-03-17 19:41:35 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 16:22:57 +0200 |
commit | 5e5e92df49d4dfbef9ba981297c7f76d189376ac (patch) | |
tree | aab8a56ee9cf9721e2189e745aeb758ab58cddcc /include/scsi | |
parent | [SCSI] fcoe: Initialize all possilbe skb_queue(s) when module is loaded (diff) | |
download | linux-5e5e92df49d4dfbef9ba981297c7f76d189376ac.tar.xz linux-5e5e92df49d4dfbef9ba981297c7f76d189376ac.zip |
[SCSI] fcoe: Use percpu kernel funcs for struct fcoe_percpu_s
Convert fcoe_percpu array to use the per-cpu variables
that the kernel provides. Use the kernel's functions to
access this structure.
The cpu member of the fcoe_percpu_s is no longer needed,
so this patch removes it too.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfcoe.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index 124dc5bd9f87..1ad4f93d5548 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h @@ -29,7 +29,6 @@ * this percpu struct for fcoe */ struct fcoe_percpu_s { - unsigned int cpu; struct task_struct *thread; struct sk_buff_head fcoe_rx_list; struct page *crc_eof_page; |