Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dd5046dd in mainline


Ignore:
Timestamp:
2010-11-20T17:10:00Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
7e1f9b7, da9f13f3
Parents:
46d4d9f
Message:

Remove unused code.

Location:
uspace/lib/packet
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r46d4d9f rdd5046dd  
    3636
    3737#include <packet_server.h>
    38 #include <packet_local.h>
    3938
    4039#include <align.h>
     
    102101        .count = 0
    103102};
    104 
    105 int packet_translate_local(int phone, packet_t **packet, packet_id_t packet_id)
    106 {
    107         if (!packet)
    108                 return EINVAL;
    109        
    110         *packet = pm_find(packet_id);
    111         return (*packet) ? EOK : ENOENT;
    112 }
    113103
    114104/** Clears and initializes the packet according to the given dimensions.
     
    241231}
    242232
    243 packet_t *packet_get_4_local(int phone, size_t max_content, size_t addr_len,
    244     size_t max_prefix, size_t max_suffix)
    245 {
    246         return packet_get_local(addr_len, max_prefix, max_content, max_suffix);
    247 }
    248 
    249 packet_t *packet_get_1_local(int phone, size_t content)
    250 {
    251         return packet_get_local(DEFAULT_ADDR_LEN, DEFAULT_PREFIX, content,
    252             DEFAULT_SUFFIX);
    253 }
    254 
    255233/** Release the packet and returns it to the appropriate free packet queue.
    256234 *
     
    294272
    295273        return EOK;
    296 }
    297 
    298 void pq_release_local(int phone, packet_id_t packet_id)
    299 {
    300         (void) packet_release_wrapper(packet_id);
    301274}
    302275
Note: See TracChangeset for help on using the changeset viewer.