kfd_topology_device->cache_count is not used by
other fucntions, so remove it.
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
                        if (cache->flags & CRAT_CACHE_FLAGS_SIMD_CACHE)
                                props->cache_type |= HSA_CACHE_TYPE_HSACU;
 
-                       dev->cache_count++;
                        dev->node_props.caches_count++;
                        list_add_tail(&props->list, &dev->cache_props);
 
 
        uint32_t                        proximity_domain;
        struct kfd_node_properties      node_props;
        struct list_head                mem_props;
-       uint32_t                        cache_count;
        struct list_head                cache_props;
        struct list_head                io_link_props;
        struct list_head                p2p_link_props;