Removed unnecessary parameter, where default value was being passed into checksession().

Signed-off-by: ziycon <ziycon.eire@gmail.com>
Merge pull request #1195 from ziycon/checksession_cleanup

Removed unnecessary parameter