Remove unused parameter
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
parent
1c9312842a
commit
f516ed62e3
@ -116,7 +116,7 @@ const struct ocf_io_if *ocf_get_io_if(ocf_req_cache_mode_t req_cache_mode)
|
||||
return cache_mode_io_if_map[req_cache_mode];
|
||||
}
|
||||
|
||||
struct ocf_request *ocf_engine_pop_req(ocf_cache_t cache, ocf_queue_t q)
|
||||
struct ocf_request *ocf_engine_pop_req(ocf_queue_t q)
|
||||
{
|
||||
unsigned long lock_flags = 0;
|
||||
struct ocf_request *req;
|
||||
|
@ -66,8 +66,7 @@ static inline bool ocf_req_cache_mode_has_lazy_write(ocf_req_cache_mode_t mode)
|
||||
|
||||
bool ocf_fallback_pt_is_on(ocf_cache_t cache);
|
||||
|
||||
struct ocf_request *ocf_engine_pop_req(struct ocf_cache *cache,
|
||||
struct ocf_queue *q);
|
||||
struct ocf_request *ocf_engine_pop_req(struct ocf_queue *q);
|
||||
|
||||
int ocf_engine_hndl_req(struct ocf_request *req);
|
||||
|
||||
|
@ -86,13 +86,10 @@ void ocf_io_handle(struct ocf_io *io, void *opaque)
|
||||
void ocf_queue_run_single(ocf_queue_t q)
|
||||
{
|
||||
struct ocf_request *io_req = NULL;
|
||||
ocf_cache_t cache;
|
||||
|
||||
OCF_CHECK_NULL(q);
|
||||
|
||||
cache = q->cache;
|
||||
|
||||
io_req = ocf_engine_pop_req(cache, q);
|
||||
io_req = ocf_engine_pop_req(q);
|
||||
|
||||
if (!io_req)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user