Commit f55864a4f435e47ad413be7016f38877b096bb5b

Authored by Or Gerlitz
Committed by Roland Dreier
1 parent c48c43e422

IB/pack: Remove some unused code added by the IBoE patches

Remove unused functions added by commit ff7f5aab354d ("IB/pack: IBoE UD
packet packing support").

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>

Showing 1 changed file with 0 additions and 30 deletions Side-by-side Diff

drivers/infiniband/core/ud_header.c
... ... @@ -278,36 +278,6 @@
278 278 EXPORT_SYMBOL(ib_ud_header_init);
279 279  
280 280 /**
281   - * ib_lrh_header_pack - Pack LRH header struct into wire format
282   - * @lrh:unpacked LRH header struct
283   - * @buf:Buffer to pack into
284   - *
285   - * ib_lrh_header_pack() packs the LRH header structure @lrh into
286   - * wire format in the buffer @buf.
287   - */
288   -int ib_lrh_header_pack(struct ib_unpacked_lrh *lrh, void *buf)
289   -{
290   - ib_pack(lrh_table, ARRAY_SIZE(lrh_table), lrh, buf);
291   - return 0;
292   -}
293   -EXPORT_SYMBOL(ib_lrh_header_pack);
294   -
295   -/**
296   - * ib_lrh_header_unpack - Unpack LRH structure from wire format
297   - * @lrh:unpacked LRH header struct
298   - * @buf:Buffer to pack into
299   - *
300   - * ib_lrh_header_unpack() unpacks the LRH header structure from
301   - * wire format (in buf) into @lrh.
302   - */
303   -int ib_lrh_header_unpack(void *buf, struct ib_unpacked_lrh *lrh)
304   -{
305   - ib_unpack(lrh_table, ARRAY_SIZE(lrh_table), buf, lrh);
306   - return 0;
307   -}
308   -EXPORT_SYMBOL(ib_lrh_header_unpack);
309   -
310   -/**
311 281 * ib_ud_header_pack - Pack UD header struct into wire format
312 282 * @header:UD header struct
313 283 * @buf:Buffer to pack into