mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
scst_mem: Remove a superfluous cast
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -366,7 +366,7 @@ static unsigned long __sgv_can_be_shrunk(void)
|
||||
}
|
||||
spin_unlock_bh(&sgv_pools_lock);
|
||||
|
||||
res = max((int)0, inactive_pages - sgv_lo_wmk);
|
||||
res = max(0, inactive_pages - sgv_lo_wmk);
|
||||
TRACE_MEM("Can free %ld (total %d)", res, atomic_read(&sgv_pages_total));
|
||||
|
||||
TRACE_EXIT_RES(res);
|
||||
|
||||
Reference in New Issue
Block a user