Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161030
b: refs/heads/master
c: 537029f
h: refs/heads/master
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Aug 22, 2009
1 parent 56a4d9a commit 351d363
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 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: 15a521b4243f3d61971f8422f3e514ef009a42b8
refs/heads/master: 537029f8e950776951ca2a3fe30121d5c05643d1
2 changes: 0 additions & 2 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ static int fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq,
}
sg_bytes = min(tlen, sg->length - offset);
if (using_sg) {
WARN_ON(skb_shinfo(fp_skb(fp))->nr_frags >
FC_FRAME_SG_LEN);
get_page(sg_page(sg));
skb_fill_page_desc(fp_skb(fp),
skb_shinfo(fp_skb(fp))->nr_frags,
Expand Down
7 changes: 0 additions & 7 deletions trunk/include/scsi/fc_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
#define FC_FRAME_HEADROOM 32 /* headroom for VLAN + FCoE headers */
#define FC_FRAME_TAILROOM 8 /* trailer space for FCoE */

/*
* Information about an individual fibre channel frame received or to be sent.
* The buffer may be in up to 4 additional non-contiguous sections,
* but the linear section must hold the frame header.
*/
#define FC_FRAME_SG_LEN 4 /* scatter/gather list maximum length */

#define fp_skb(fp) (&((fp)->skb))
#define fr_hdr(fp) ((fp)->skb.data)
#define fr_len(fp) ((fp)->skb.len)
Expand Down

0 comments on commit 351d363

Please sign in to comment.