• Alexander Chiang's avatar
    IB/uverbs: Remove dev_table · 2a72f212
    Alexander Chiang authored
    dev_table's raison d'etre was to associate an inode back to a struct
    ib_uverbs_device.
    
    However, now that we've converted ib_uverbs_device to contain an
    embedded cdev (instead of a *cdev), we can use the container_of()
    macro and cast back to the containing device.
    
    There's no longer any need for dev_table, so get rid of it.
    Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    2a72f212
uverbs_main.c 23.4 KB