Removed unnecessary parameter

Removed unnecessary parameter, where default value was being passed into checksession().

Signed-off-by: ziycon <ziycon.eire@gmail.com>