mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
IB/pack: Remove some unused code added by the IBoE patches
Remove unused functions added by commit ff7f5aab35
("IB/pack: IBoE UD
packet packing support").
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
This commit is contained in:
parent
c48c43e422
commit
f55864a4f4
1 changed files with 0 additions and 30 deletions
|
@ -277,36 +277,6 @@ void ib_ud_header_init(int payload_bytes,
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ib_ud_header_init);
|
EXPORT_SYMBOL(ib_ud_header_init);
|
||||||
|
|
||||||
/**
|
|
||||||
* ib_lrh_header_pack - Pack LRH header struct into wire format
|
|
||||||
* @lrh:unpacked LRH header struct
|
|
||||||
* @buf:Buffer to pack into
|
|
||||||
*
|
|
||||||
* ib_lrh_header_pack() packs the LRH header structure @lrh into
|
|
||||||
* wire format in the buffer @buf.
|
|
||||||
*/
|
|
||||||
int ib_lrh_header_pack(struct ib_unpacked_lrh *lrh, void *buf)
|
|
||||||
{
|
|
||||||
ib_pack(lrh_table, ARRAY_SIZE(lrh_table), lrh, buf);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(ib_lrh_header_pack);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ib_lrh_header_unpack - Unpack LRH structure from wire format
|
|
||||||
* @lrh:unpacked LRH header struct
|
|
||||||
* @buf:Buffer to pack into
|
|
||||||
*
|
|
||||||
* ib_lrh_header_unpack() unpacks the LRH header structure from
|
|
||||||
* wire format (in buf) into @lrh.
|
|
||||||
*/
|
|
||||||
int ib_lrh_header_unpack(void *buf, struct ib_unpacked_lrh *lrh)
|
|
||||||
{
|
|
||||||
ib_unpack(lrh_table, ARRAY_SIZE(lrh_table), buf, lrh);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(ib_lrh_header_unpack);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ib_ud_header_pack - Pack UD header struct into wire format
|
* ib_ud_header_pack - Pack UD header struct into wire format
|
||||||
* @header:UD header struct
|
* @header:UD header struct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue