• Alan Cox's avatar
    Staging: sep: kick out various fields we can prove are not needed · 70ae04e6
    Alan Cox authored
    #1: sep->cache_addr is assigned to sep->rar_addr and never changed
        sep->rar_addr is never assigned after this point
    
    #2: sep->cache_bus ditto for sep->rar_bus
    
    #3  sep->rar_region_addr is assigned but necer used
    
    #4  sep->io_addr is in fact private to the probe function and
        the same as the reg_addr
    
    #5  The remainig sep->io fields are in fact function locals
    
    #6  sep->message_shared_area is assigned once from sep->shared_area
        sep->shared_area does not then change
    
    #7  sep->shared_addr and sep->shared_area_addr are the same thing, ditto
        for the bus addresses.
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    70ae04e6
sep_dev.h 3.05 KB